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

◆ FromDegrees() [2/2]

static consteval Angle SRL::Math::Types::Angle::FromDegrees ( double degrees)
inlinestaticconsteval

Creates angle from degrees at compile time.

Parameters
degreesAngle in degrees as floating-point value
Returns
Angle object
Note
This is a compile-time function that converts from degrees to the internal 16-bit representation.