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

◆ ToTurns()

Fxp SRL::Math::Types::Angle::ToTurns ( ) const
inlineconstexpr

Converts angle to turns.

Returns
Angle in turns as fixed-point value
Note
This conversion is efficient as it directly uses the internal representation, where one full turn (360 degrees) is represented by 0xFFFF.