#include <StdMeshMath.h>
Public Member Functions | |
float | LenSqr () const |
void | Normalize () |
Static Public Member Functions | |
static StdMeshQuaternion | Zero () |
static StdMeshQuaternion | AngleAxis (float theta, const StdMeshVector &axis) |
static StdMeshQuaternion | Nlerp (const StdMeshQuaternion &lhs, const StdMeshQuaternion &rhs, float w) |
Public Attributes | |
float | w |
float | x |
float | y |
float | z |
Definition at line 58 of file StdMeshMath.h.
|
static |
Definition at line 72 of file StdMeshMath.cpp.
References s, w, StdMeshVector::x, x, StdMeshVector::y, y, StdMeshVector::z, and z.
Referenced by StdMeshMatrix::Decompose(), StdMeshSkeletonLoader::LoadSkeletonXml(), and StdMeshTransformation::Rotate().
|
inline |
|
static |
Definition at line 93 of file StdMeshMath.cpp.
References Normalize(), w, x, y, and z.
Referenced by StdMeshTransformation::Nlerp().
void StdMeshQuaternion::Normalize | ( | ) |
|
static |
Definition at line 62 of file StdMeshMath.cpp.
Referenced by StdMeshTransformation::Zero().
float StdMeshQuaternion::w |
Definition at line 60 of file StdMeshMath.h.
Referenced by AngleAxis(), StdMeshTransformation::Identity(), StdMeshTransformation::Inverse(), LenSqr(), Nlerp(), Normalize(), operator*(), operator*=(), operator+=(), operator-(), Ogre::Skeleton::ChunkBone::ReadImpl(), Ogre::Skeleton::ChunkAnimationTrackKF::ReadImpl(), StdMeshTransformation::Scale(), StdMeshMatrix::Transform(), StdMeshMatrix::TransformInverse(), OgreToClonk::TransformQuaternion(), StdMeshTransformation::Translate(), and Zero().
float StdMeshQuaternion::x |
Definition at line 61 of file StdMeshMath.h.
Referenced by AngleAxis(), StdMeshTransformation::Identity(), StdMeshTransformation::Inverse(), LenSqr(), Nlerp(), Normalize(), operator*(), operator*=(), operator+=(), operator-(), Ogre::Skeleton::ChunkBone::ReadImpl(), Ogre::Skeleton::ChunkAnimationTrackKF::ReadImpl(), StdMeshTransformation::Scale(), StdMeshMatrix::Transform(), StdMeshMatrix::TransformInverse(), OgreToClonk::TransformQuaternion(), StdMeshTransformation::Translate(), and Zero().
float StdMeshQuaternion::y |
Definition at line 61 of file StdMeshMath.h.
Referenced by AngleAxis(), StdMeshTransformation::Identity(), StdMeshTransformation::Inverse(), LenSqr(), Nlerp(), Normalize(), operator*(), operator*=(), operator+=(), operator-(), Ogre::Skeleton::ChunkBone::ReadImpl(), Ogre::Skeleton::ChunkAnimationTrackKF::ReadImpl(), StdMeshTransformation::Scale(), StdMeshMatrix::Transform(), StdMeshMatrix::TransformInverse(), OgreToClonk::TransformQuaternion(), StdMeshTransformation::Translate(), and Zero().
float StdMeshQuaternion::z |
Definition at line 61 of file StdMeshMath.h.
Referenced by AngleAxis(), StdMeshTransformation::Identity(), StdMeshTransformation::Inverse(), LenSqr(), Nlerp(), Normalize(), operator*(), operator*=(), operator+=(), operator-(), Ogre::Skeleton::ChunkBone::ReadImpl(), Ogre::Skeleton::ChunkAnimationTrackKF::ReadImpl(), StdMeshTransformation::Scale(), StdMeshMatrix::Transform(), StdMeshMatrix::TransformInverse(), OgreToClonk::TransformQuaternion(), StdMeshTransformation::Translate(), and Zero().