|
CeresEngine 0.2.0
A game development framework
|
Wrapper class which indicates a given angle value is in degrees. More...
#include <CeresEngine/Math/Angle.hpp>
Public Member Functions | |
| constexpr | TDegree ()=default |
| constexpr | TDegree (const TDegree &d)=default |
| constexpr TDegree & | operator= (const TDegree &d)=default |
| constexpr | TDegree (T d) |
| constexpr | TDegree (const TRadian< T > &r) |
| constexpr TDegree & | operator= (const TRadian< T > &r) |
| template<CArithmetic U> | |
| constexpr | TDegree (const TDegree< U > °) |
| constexpr TDegree | wrap () const |
| Wraps the angle in [0, 360) range. | |
| constexpr const TDegree & | operator+ () const |
| constexpr TDegree | operator+ (const TDegree &d) const |
| constexpr TDegree & | operator+= (const TDegree &d) |
| constexpr TDegree | operator- () const |
| constexpr TDegree | operator- (const TDegree &d) const |
| constexpr TDegree & | operator-= (const TDegree &d) |
| constexpr TDegree | operator* (T f) const |
| constexpr TDegree & | operator*= (T f) |
| constexpr TDegree | operator/ (T f) const |
| constexpr TDegree & | operator/= (T f) |
| constexpr bool | operator< (const TDegree &d) const |
| constexpr bool | operator< (T d) const |
| constexpr bool | operator<= (const TDegree &d) const |
| constexpr bool | operator<= (T d) const |
| constexpr bool | operator== (const TDegree &d) const |
| constexpr bool | operator== (T d) const |
| constexpr bool | operator!= (const TDegree &d) const |
| constexpr bool | operator!= (T d) const |
| constexpr bool | operator>= (const TDegree &d) const |
| constexpr bool | operator>= (T d) const |
| constexpr bool | operator> (const TDegree &d) const |
| constexpr bool | operator> (T d) const |
Public Attributes | |
| T | raw = 0.0 |
Friends | |
| constexpr TDegree | operator+ (T lhs, const TDegree &rhs) |
| constexpr TDegree | operator- (T lhs, const TDegree &rhs) |
| constexpr TDegree | operator* (T lhs, const TDegree &rhs) |
| constexpr TDegree | operator/ (T lhs, const TDegree &rhs) |
Wrapper class which indicates a given angle value is in degrees.
|
constexprdefault |
|
constexprdefault |
|
inlineexplicitconstexpr |
|
inlineconstexpr |
|
inlineexplicitconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Wraps the angle in [0, 360) range.
| T Math::TDegree< T >::raw = 0.0 |