Luna::AffineMatrix::make_rotation_axis_angle
Float4x4 make_rotation_axis_angle(const Float3 &axis, f32 angle)
Constructs one 3D rotation matrix by specifying the rotation axis and rotation angle.
Parameters
-
in axis
The axis to rotate around.
-
in rotation
The rotation represected in radians.
Return value
Returns the constructed matrix.