Contents

SushiEngine::placeholder

mul

template <typename T>
QuaternionT< T > mul(const QuaternionT< T > &a, const QuaternionT< T > &b) noexcept

Parameters

NameType
aconst QuaternionT< T > &
bconst QuaternionT< T > &

Returns

QuaternionT< T >

Description

Hamilton product a * b (apply b then a).

Matrix4 mul(const Matrix4 &a, const Matrix4 &b) noexcept

Parameters

NameType
aconst Matrix4 &
bconst Matrix4 &

Returns

Matrix4

Description

Matrix product a * b (column-major).