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

◆ operator-() [2/2]

Angle SRL::Math::Types::Angle::operator- ( const Angle & other) const
inlineconstexpr

Subtracts two angles.

Parameters
otherAngle to subtract
Returns
Difference of angles (automatically wraps around)
Note
The subtraction naturally wraps around due to 16-bit arithmetic.