Luna::Quaternion::from_euler_angles

Float4 from_euler_angles(const Float3 &euler_angles)

Creates one quaternion from euler angles.

Parameters

  • in euler_angles

    The euler angles (pitch, yaw, roll).

Return value

Returns the created quaternion.