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

◆ operator-() [1/2]

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

Negates the angle, effectively adding half a turn (180 degrees).

Returns
New Angle object representing the negated angle.

This operator allows for intuitive manipulation of angles by providing a way to obtain the angle that is directly opposite to the current angle. It adds half a turn (180°) to the current angle.