OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::Angle Class Reference

Wrapper class which identifies a value as the currently default angle type, as defined by Math::setAngleUnit. More...

#include <OgreMath.h>

Public Member Functions

 Angle (Real angle)
 
 operator Degree () const
 
 operator Radian () const
 

Private Attributes

Real mAngle
 

Detailed Description

Wrapper class which identifies a value as the currently default angle type, as defined by Math::setAngleUnit.

Remarks
Angle values will be automatically converted between radians and degrees, as appropriate.

Definition at line 152 of file OgreMath.h.

Constructor & Destructor Documentation

Ogre::Angle::Angle ( Real  angle)
inlineexplicit

Definition at line 156 of file OgreMath.h.

Member Data Documentation

Real Ogre::Angle::mAngle
private

Definition at line 154 of file OgreMath.h.


The documentation for this class was generated from the following file: