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

◆ operator/() [1/2]

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

Divides an angle by a fixed-point scalar value.

Parameters
fxpThe fixed-point scalar value to divide by
Returns
New Angle object containing the result
Note
Automatically wraps around the result due to 16-bit arithmetic.
Warning
Division by zero will cause undefined behavior.