Coordinate frame expressed in Euler angles.
More...
|
static void | unwrapYaw (UprightFrame *a, int N) |
| 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. More...
|
|
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
◆ UprightFrame() [1/3]
◆ UprightFrame() [2/3]
◆ UprightFrame() [3/3]
G3D::UprightFrame::UprightFrame |
( |
const Any & |
any | ) |
|
|
explicit |
◆ deserialize()
void G3D::UprightFrame::deserialize |
( |
class BinaryInput & |
b | ) |
|
◆ operator CoordinateFrame()
◆ operator*()
UprightFrame G3D::UprightFrame::operator* |
( |
const float |
k | ) |
const |
Required for use with spline.
◆ operator+()
Required for use with spline.
◆ operator=()
◆ serialize()
void G3D::UprightFrame::serialize |
( |
class BinaryOutput & |
b | ) |
const |
◆ toAny()
Any G3D::UprightFrame::toAny |
( |
| ) |
const |
◆ toCoordinateFrame()
◆ unwrapYaw()
static void G3D::UprightFrame::unwrapYaw |
( |
UprightFrame * |
a, |
|
|
int |
N |
|
) |
| |
|
static |
◆ pitch
float G3D::UprightFrame::pitch |
-pi/2 < pitch < pi/2 in radians about the X-axis
◆ translation
Vector3 G3D::UprightFrame::translation |
◆ yaw
float G3D::UprightFrame::yaw |
In radians about the Y-axis.