SaturnRingLibrary 0.9.1
SGL wrapper
 
Loading...
Searching...
No Matches

◆ pitch

Angle SRL::Math::Types::EulerAngles::pitch

Rotation around the X axis (up/down).

Represents the vertical rotation that causes looking up or down. In the intrinsic Tait-Bryan X-Y-Z rotation sequence, pitch is applied first.

Mathematical properties:

  • Range: Typically constrained to [-90°, 90°] to avoid gimbal lock
  • Singularities occur at ±90° when used in conjunction with yaw and roll
  • Positive pitch rotates upward (counter-clockwise around X-axis when viewed from positive X)
  • Negative pitch rotates downward (clockwise around X-axis when viewed from positive X)

Common applications:

  • Camera control systems (looking up/down)
  • Flight simulators (aircraft nose up/down)
  • Character head movement
Note
When approaching ±90°, the system may experience gimbal lock where yaw and roll rotations become indistinguishable. Consider using quaternions for applications requiring full 360° rotation freedom.