Loading...
Searching...
No Matches
Angle.hpp
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
constexpr Angle operator*(Angle left, float right)
Overload of binary operator* to scale an angle value.
constexpr Angle operator%(Angle left, Angle right)
Overload of binary operator% to compute modulo of an angle value.
constexpr Angle & operator+=(Angle &left, Angle right)
Overload of binary operator+= to add/assign two angle values.
constexpr bool operator<=(Angle left, Angle right)
Overload of operator<= to compare two angle values.
constexpr Angle & operator*=(Angle &left, float right)
Overload of binary operator*= to scale/assign an angle value.
constexpr Angle operator*(float left, Angle right)
Overload of binary operator* to scale an angle value.
constexpr Angle wrapSigned() const
Wrap to a range such that -180° <= angle < 180°
constexpr Angle operator-(Angle right)
Overload of unary operator- to negate an angle value.
constexpr Angle & operator-=(Angle &left, Angle right)
Overload of binary operator-= to subtract/assign two angle values.
friend constexpr Angle radians(float angle)
Construct an angle value from a number of radians.
constexpr float operator/(Angle left, Angle right)
Overload of binary operator/ to compute the ratio of two angle values.
friend constexpr Angle degrees(float angle)
Construct an angle value from a number of degrees.
constexpr Angle & operator/=(Angle &left, float right)
Overload of binary operator/= to scale/assign an angle value.
constexpr Angle operator+(Angle left, Angle right)
Overload of binary operator+ to add two angle values.
constexpr bool operator>=(Angle left, Angle right)
Overload of operator>= to compare two angle values.
constexpr bool operator!=(Angle left, Angle right)
Overload of operator!= to compare two angle values.
constexpr bool operator>(Angle left, Angle right)
Overload of operator> to compare two angle values.
constexpr bool operator<(Angle left, Angle right)
Overload of operator< to compare two angle values.
constexpr Angle wrapUnsigned() const
Wrap to a range such that 0° <= angle < 360°
constexpr bool operator==(Angle left, Angle right)
Overload of operator== to compare two angle values.
constexpr Angle operator-(Angle left, Angle right)
Overload of binary operator- to subtract two angle values.
constexpr Angle & operator%=(Angle &left, Angle right)
Overload of binary operator%= to compute/assign remainder of an angle value.
constexpr Angle operator/(Angle left, float right)
Overload of binary operator/ to scale an angle value.
Definition AudioResource.hpp:36