This class describes the 3 values defining a 3D orientation azimuth, pitch, roll. More...
Public Member Functions | |
VgOrientation () | |
VgOrientation (const VgOrientation &pOther) | |
VgOrientation (float pAzimuth, float pPitch, float pRoll) | |
Public Attributes | |
float | mAzimuth |
Azimuth value, in degrees. | |
float | mPitch |
Pitch value, in degrees. | |
float | mRoll |
Roll value, in degrees. |
This class describes the 3 values defining a 3D orientation azimuth, pitch, roll.
Orientations with pitch over 90 (or below -90) can be specified, but when you get them back from the engine, the pitch will always be within [-90,90].
VgEngine::VgOrientation::VgOrientation | ( | ) | [inline] |
VgEngine::VgOrientation::VgOrientation | ( | const VgOrientation & | pOther ) | [inline] |
VgEngine::VgOrientation::VgOrientation | ( | float | pAzimuth, |
float | pPitch, | ||
float | pRoll | ||
) | [inline] |
Azimuth value, in degrees.
Valid values are between 0 and 359, where a value of 0 indicates a North heading, 90 indicates East heading, 180 indicates South heading, and 270 indicates a West heading.
Pitch value, in degrees.
Valid values are between -90 and 90, where a value of -90 indicates facing towards the ground, 0 indicates facing towards the horizon and 90 indicates facing towards the zenith.
Roll value, in degrees.
Valid values are between -90 and 90, where a value of -90 indicates rolling towards the right hand side, 0 indicates no rolling, and 90 indicates rolling towards the left hand side.