Function citro3d_sys::Quat_FromPitchYawRoll
source · pub unsafe extern "C" fn Quat_FromPitchYawRoll(
pitch: f32,
yaw: f32,
roll: f32,
bRightSide: bool
) -> C3D_FQuat
Expand description
Converting Pitch, Yaw, and Roll to Quaternion equivalent
§Arguments
pitch
(direction in) - The pitch angle in radians.yaw
(direction in) - The yaw angle in radians.roll
(direction in) - The roll angle in radians.bRightSide
(direction in) - Whether to transform from the right side
§Returns
C3D_FQuat The Quaternion equivalent with the pitch, yaw, and roll (in that order) orientations applied.