Luna::AffineMatrix::make_rotation_z

Float4x4 make_rotation_z(f32 angle)

Constructs one 3D rotation matrix that represents one rotation alone z axis.

Parameters

  • in rotation

    The rotation represected in radians.

Return value

Returns the constructed matrix.