#include "TA/Common/MFrame.h"
It is assumed that the user has prior knowledge of vector and matrix maths It is left to the user to work out what the functions do from there names, parameters and return values.
Public Member Functions | |
void | InitialiseFromOpenGlMatrix (const float *pfMatrix) |
void | GetOpenGlMatrix (float *pfMatrix) const |
void | Interpolate (MFrame &a, MFrame &b, float fT) |
void | Invert () |
MFrame | GetInverse () const |
Vec3 | GetTransform (const Vec3 &v3Value) |
Vec3 | GetInverseTransform (const Vec3 &v3Value) |
void | Mirror (const Vec3 &v3DirectionToMirror, const Vec3 &v3PointToMirrorAbout) |
Initialisation | |
MFrame (const MFrame &mFrame) | |
MFrame (const Vec3 &v3NewTranslation) | |
MFrame (const Mat33 &m33NewRotation) | |
MFrame (const Vec3 &v3NewTranslation, const Mat33 &m33NewRotation) | |
void | Clear () |
void | Initialise (D3DXMATRIX *pD3DMatrix) |
void | GetAsD3DMatrix (D3DXMATRIX *pD3DMatrix) const |
Assignment operators | |
MFrame & | operator *= (const MFrame &mFrame) |
MFrame & | operator *= (const Mat33 &m33Value) |
MFrame & | operator/= (const MFrame &mFrameB) |
Binary operators | |
MFrame | operator * (const MFrame &mFrame) const |
MFrame | operator * (const Mat33 &m33Value) const |
MFrame | operator/ (const MFrame &mFrameB) const |
Comparison operators | |
bool | operator== (const MFrame &mFrame) const |
bool | operator!= (const MFrame &mFrame) const |
Static Public Member Functions | |
static MFrame TAC_CALL | GetInverse (const MFrame &mFrame) |
Data Fields | |
Mat33 | m33Rotation |
Vec3 | v3Translation |
Friends | |
Vec3 | operator * (const Vec3 &v3A, const MFrame &mFrameB) |
Vec3 | operator/ (const Vec3 &v3A, const MFrame &mFrameB) |
Vec3 & | operator *= (Vec3 &v3A, const MFrame &m33B) |
Vec3 & | operator/= (Vec3 &v3A, const MFrame &m33B) |
Related Functions | |
(Note that these are not member functions.)
| |
Vector Maths | |
k_mFrameIdentity |