Function citro3d_sys::Quat_Rotate

source ·
pub unsafe extern "C" fn Quat_Rotate(
    q: C3D_FQuat,
    axis: C3D_FVec,
    r: f32,
    bRightSide: bool
) -> C3D_FQuat
Expand description

3D Rotation

§Arguments

  • q (direction in) - Quaternion to rotate
  • axis (direction in) - Axis about which to rotate
  • r (direction in) - Radians to rotate
  • bRightSide (direction in) - Whether to transform from the right side

§Returns

Rotated Quaternion