OGRE  1.7
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 149 of file OgreMath.h.

Constructor & Destructor Documentation

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

Definition at line 153 of file OgreMath.h.

Member Data Documentation

Real Ogre::Angle::mAngle
private

Definition at line 151 of file OgreMath.h.


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