Luna::AffineMatrix::make_rotation_euler_angles
Float4x4 make_rotation_euler_angles(f32 pitch, f32 yaw, f32 roll)
Constructs one 3D rotation matrix from Euler angles (pitch, yaw, roll).
Parameters
-
in pitch
The pitch value (clockwise rotation around X axis) in radians.
-
in yaw
The yaw value (clockwise rotation around Y axis) in radians.
-
in roll
The roll value (clockwise rotation around Z axis) in radians.
Return value
Returns the constructed matrix.