Luna::AffineMatrix::make_rotation

Float4x4 make_rotation(const Float4 &rotation)

Constructs one 3D rotation matrix from one rotation Quaternion.

Parameters

  • in rotation

    The rotation quaternion.

Return value

Returns the constructed matrix.