Public Member Functions | Private Attributes | List of all members
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 150 of file OgreMath.h.

Constructor & Destructor Documentation

◆ Angle()

Ogre::Angle::Angle ( Real  angle)
explicit

Definition at line 154 of file OgreMath.h.

References Ogre::Radian::Radian().

Member Data Documentation

◆ mAngle

Real Ogre::Angle::mAngle
private

Definition at line 152 of file OgreMath.h.


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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.