SaturnRingLibrary
0.9.1
SGL wrapper
Loading...
Searching...
No Matches
◆
FromDegrees()
[2/2]
static consteval
Angle
SRL::Math::Types::Angle::FromDegrees
(
double
degrees
)
inline
static
consteval
Creates angle from degrees at compile time.
Parameters
degrees
Angle
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.
SRL
Math
Types
Angle