6 #ifndef G3D_UprightFrame_h
7 #define G3D_UprightFrame_h
35 : translation(t), pitch(p), yaw(
y) {}
105 virtual Any toAny(
const std::string& myName)
const override;
void deserialize(class BinaryInput &b)
Definition: UprightFrame.cpp:109
Any toAny() const
Definition: UprightFrame.cpp:166
A rigid body RT (rotation-translation) transformation.
Definition: CoordinateFrame.h:59
float yaw
Definition: UprightFrame.h:32
void serialize(class BinaryOutput &b) const
Definition: UprightFrame.cpp:177
void deserialize(class BinaryInput &b)
Definition: UprightFrame.cpp:191
bool any(float x)
Definition: g3dmath.h:424
UprightSpline & operator=(const Any &any)
Definition: UprightFrame.cpp:171
float pitch
Definition: UprightFrame.h:29
Any toAny() const
Definition: UprightFrame.cpp:33
UprightFrame operator+(const UprightFrame &other) const
Definition: UprightFrame.cpp:62
static const Vector3 & zero()
Definition: Vector3.cpp:119
Easy loading and saving of human-readable configuration files.
Definition: Any.h:184
Shortest-path linear velocity spline for camera positions. Always keeps the camera from rolling...
Definition: UprightFrame.h:82
UprightFrame & operator=(const Any &any)
Definition: UprightFrame.cpp:44
G3D::int16 y
Definition: Vector2int16.h:38
void serialize(class BinaryOutput &b) const
Definition: UprightFrame.cpp:102
UprightFrame(const Vector3 &t=Vector3::zero(), float p=0, float y=0)
Definition: UprightFrame.h:34
virtual void ensureShortestPath(UprightFrame *A, int N) const
Definition: UprightFrame.h:85
UprightSpline()
Definition: UprightFrame.cpp:117
static void unwrapYaw(UprightFrame *a, int N)
Definition: UprightFrame.cpp:72
Definition: BinaryOutput.h:52
CoordinateFrame toCoordinateFrame() const
Definition: UprightFrame.cpp:49
Vector3 translation
Definition: UprightFrame.h:26
Coordinate frame expressed in Euler angles. Unlike a G3D::Quat, UprightFrame always keeps the referen...
Definition: UprightFrame.h:23
UprightFrame operator*(const float k) const
Definition: UprightFrame.cpp:67