G3D::UprightFrame Class ReferenceCoordinate frame expressed in Euler angles.
More...
#include <UprightFrame.h>
List of all members.
Detailed Description
Coordinate frame expressed in Euler angles.
Unlike a G3D::Quat, UprightFrame always keeps the reference frame from rolling about its own z axis. Particularly useful for cameras.
- See also:
- G3D::CoordinateFrame, G3D::Matrix4, G3D::PhysicsFrame, G3D::UprightSpline, G3D::UprightSplineManipulator
Constructor & Destructor Documentation
| G3D::UprightFrame::UprightFrame |
( |
const Vector3 & |
t = Vector3::zero(), |
|
|
float |
p = 0, |
|
|
float |
y = 0 | |
|
) |
| | [inline] |
Member Function Documentation
| void G3D::UprightFrame::deserialize |
( |
class BinaryInput & |
b |
) |
|
| UprightFrame G3D::UprightFrame::operator * |
( |
const float |
k |
) |
const |
Required for use with spline.
Required for use with spline.
| void G3D::UprightFrame::serialize |
( |
class BinaryOutput & |
b |
) |
const |
| static void G3D::UprightFrame::unwrapYaw |
( |
UprightFrame * |
a, |
|
|
int |
N | |
|
) |
| | [static] |
Unwraps the yaw values in the elements of the array such that they still represent the same angles but strictly increase/decrease without wrapping about zero.
For use with Spline<UprightFrame>
Member Data Documentation
-pi/2 < pitch < pi/2 in radians about the X-axis
In radians about the Y-axis.
The documentation for this class was generated from the following file:
Generated on Thu Aug 2 11:40:48 2007 for G3D by
1.5.2
Hosted by
|