SaturnRingLibrary 0.9.1
SGL wrapper
 
Loading...
Searching...
No Matches
SRL::Math::Types::EulerAngles Struct Reference

Detailed Description

Represents three rotation angles in Euler angle format.

Uses the intrinsic Tait-Bryan angles with the order X-Y-Z (pitch-yaw-roll). This representation is commonly used in 3D graphics and physics simulations.

The rotation order is:

  1. First rotate around X axis (pitch)
  2. Then rotate around Y axis (yaw)
  3. Finally rotate around Z axis (roll)
See also
Angle The underlying angle representation used for each component

#include <angle.hpp>

Public Member Functions

constexpr EulerAngles ()
 Default constructor initializing all angles to zero.
 
constexpr EulerAngles (const Angle &pitchAngle, const Angle &yawAngle, const Angle &rollAngle)
 Constructor with explicit angles.
 

Public Attributes

Angle pitch
 Rotation around the X axis (up/down).
 
Angle roll
 Rotation around the Z axis (tilt).
 
Angle yaw
 Rotation around the Y axis (left/right).