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

◆ BuildRaw()

static constexpr Angle SRL::Math::Types::Angle::BuildRaw ( uint16_t rawValue)
inlinestaticconstexpr

Creates an angle from a raw 16-bit value.

Parameters
rawValueRaw 16-bit angle value where 0x0000-0xFFFF maps to 0-1 turns
Returns
Angle object initialized with the raw value
Note
This is useful when you already have a raw angle value and want to create an Angle object without any conversions.