OGRE-Next
4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
Wrapper class which indicates a given angle value is in Radians. More...
#include <OgreMath.h>
Public Member Functions | |
Radian (const Degree &d) | |
Radian (Real r=0) | |
bool | operator!= (const Radian &r) const |
Radian | operator* (const Radian &f) const |
Radian | operator* (Real f) const |
Radian & | operator*= (Real f) |
const Radian & | operator+ () const |
Radian | operator+ (const Degree &d) const |
Radian | operator+ (const Radian &r) const |
Radian & | operator+= (const Degree &d) |
Radian & | operator+= (const Radian &r) |
Radian | operator- () const |
Radian | operator- (const Degree &d) const |
Radian | operator- (const Radian &r) const |
Radian & | operator-= (const Degree &d) |
Radian & | operator-= (const Radian &r) |
Radian | operator/ (Real f) const |
Radian & | operator/= (Real f) |
bool | operator< (const Radian &r) const |
bool | operator<= (const Radian &r) const |
Radian & | operator= (const Degree &d) |
Radian & | operator= (const Real &f) |
bool | operator== (const Radian &r) const |
bool | operator> (const Radian &r) const |
bool | operator>= (const Radian &r) const |
Real | valueAngleUnits () const |
Real | valueDegrees () const |
Real | valueRadians () const |
void | wrapToRangeNPI_PI () |
Wraps the given value to the range [-pi; pi] The algorithm is: const float signedPi = std::copysign( _PI, mRad ); const float wrappedValue = fmod( mRad + signedPi, TWO_PI ); mRad = wrappedValue - signedPi;. More... | |
Wrapper class which indicates a given angle value is in Radians.
|
inlineexplicit |
Referenced by operator*(), operator+(), operator-(), and operator/().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |