Luna::AffineMatrix::make_rotation_x

Float4x4 make_rotation_x(f32 angle)

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

Parameters

  • in rotation

    The rotation represected in radians.

Return value

Returns the constructed matrix.