OGRE-Next
2.3
Object-Oriented Graphics Rendering Engine
|
Wrapper class which indicates a given angle value is in Degrees. More...
#include <OgreMath.h>
Public Member Functions | |
Degree (const Radian &r) | |
Degree (Real d=0) | |
bool | operator!= (const Degree &d) const |
Degree | operator* (const Degree &f) const |
Degree | operator* (Real f) const |
Degree & | operator*= (Real f) |
const Degree & | operator+ () const |
Degree | operator+ (const Degree &d) const |
Degree | operator+ (const Radian &r) const |
Degree & | operator+= (const Degree &d) |
Degree & | operator+= (const Radian &r) |
Degree | operator- () const |
Degree | operator- (const Degree &d) const |
Degree | operator- (const Radian &r) const |
Degree & | operator-= (const Degree &d) |
Degree & | operator-= (const Radian &r) |
Degree | operator/ (Real f) const |
Degree & | operator/= (Real f) |
bool | operator< (const Degree &d) const |
bool | operator<= (const Degree &d) const |
Degree & | operator= (const Radian &r) |
Degree & | operator= (const Real &f) |
bool | operator== (const Degree &d) const |
bool | operator> (const Degree &d) const |
bool | operator>= (const Degree &d) const |
Real | valueAngleUnits () const |
Real | valueDegrees () const |
Real | valueRadians () const |
Friends | |
_OgreExport friend std::ostream & | operator<< (std::ostream &o, const Degree &v) |
Wrapper class which indicates a given angle value is in Degrees.
|
inlineexplicit |
Referenced by operator*(), operator+(), operator-(), and operator/().
|
inline |
|
inline |
|
inline |
References Degree(), and Ogre::Radian::valueDegrees().
References Ogre::Radian::valueDegrees().
References Degree(), and Ogre::Radian::valueDegrees().
References Ogre::Radian::valueDegrees().
|
inline |
|
inline |
References Ogre::Radian::valueDegrees().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by Ogre::Math::Abs(), Ogre::operator*(), Ogre::operator/(), Ogre::Math::Sign(), and Ogre::Math::Sqrt().
|
friend |