Luna::AffineMatrix::make_rotation

Float3x3 make_rotation(f32 rotation)

Constructs one 2D rotation matrix from one rotation scalar.

Parameters

  • in rotation

    The counter-clockwise rotation represected in radians.

Return value

Returns the constructed matrix.