Luna::AffineMatrix::make_rotation_euler_angles

Float4x4 make_rotation_euler_angles(const Float3 &euler_angles)

Constructs one 3D rotation matrix from Euler angles (pitch, yaw, roll).

Parameters

  • in euler_angles

    The euler angles represented in radians.

Return value

Returns the constructed matrix.