OGRE
master
Object-Oriented Graphics Rendering Engine
|
Wrapper class which indicates a given angle value is in Radians. More...
#include <OgreMath.h>
Public Member Functions | |
Radian (float r=0) | |
Radian (const Degree &d) | |
Radian (const Ogre::Radian &rhs) | |
bool | operator!= (const Radian &r) const |
Radian | operator* (float f) const |
Radian | operator* (const Radian &f) const |
Radian & | operator*= (float f) |
const Radian & | operator+ () const |
Radian | operator+ (const Radian &r) const |
Radian | operator+ (const Degree &d) const |
Radian & | operator+= (const Radian &r) |
Radian & | operator+= (const Degree &d) |
Radian | operator- () const |
Radian | operator- (const Radian &r) const |
Radian | operator- (const Degree &d) const |
Radian & | operator-= (const Radian &r) |
Radian & | operator-= (const Degree &d) |
Radian | operator/ (float f) const |
Radian & | operator/= (float f) |
bool | operator< (const Radian &r) const |
bool | operator<= (const Radian &r) const |
Radian & | operator= (const float &f) |
Radian & | operator= (const Radian &r) |
Radian & | operator= (const Degree &d) |
bool | operator== (const Radian &r) const |
bool | operator> (const Radian &r) const |
bool | operator>= (const Radian &r) const |
float | valueAngleUnits () const |
float | valueDegrees () const |
float | valueRadians () const |
Friends | |
std::ostream & | operator<< (std::ostream &o, const Radian &v) |
Wrapper class which indicates a given angle value is in Radians.
Radian values are interchangeable with Degree values, and conversions will be done automatically between them.
|
inlineexplicit |
|
inline |
|
inline |
Referenced by operator=().
References operator=(), and valueDegrees().
|
inline |
References valueAngleUnits().
Referenced by Ogre::Math::Abs(), Ogre::Math::Cos(), Ogre::VectorBase< 3, Real >::directionEquals(), Ogre::Quaternion::equals(), Ogre::operator*(), Ogre::operator/(), Ogre::Math::Sign(), Ogre::Math::Sin(), Ogre::Math::Sqrt(), Ogre::Math::Tan(), and Ogre::Degree::valueDegrees().
|
inline |
Referenced by operator+().
References operator+(), and Radian().
|
inline |
References Radian().
Referenced by operator-().
References operator-(), and Radian().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |