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

◆ operator/=() [1/2]

Angle & SRL::Math::Types::Angle::operator/= ( const Fxp & fxp)
inlineconstexpr

Divides an angle by a fixed-point scalar value.

Parameters
fxpThe fixed-point scalar value to divide by
Returns
Reference to this Angle object
Note
Automatically wraps around the result
Warning
Division by zero will cause undefined behavior.