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

◆ FromTurns()

static consteval Angle SRL::Math::Types::Angle::FromTurns ( float turns)
inlinestaticconsteval

Creates an angle from a floating-point value in turns.

Parameters
turnsAngle in turns as floating-point value
Returns
Angle object
Note
This is a convenience method for creating angles from floating-point values. It is less efficient than using the fixed-point version but more readable in code.