SO3Engine
|
set of handy convertors. More...
Functions | |
_OgreNewtExport void | MatrixToQuatPos (const dFloat *matrix, Ogre::Quaternion &quat, Ogre::Vector3 &pos) |
Take a Newton matrix and create a Quaternion + Position_vector. | |
_OgreNewtExport void | QuatPosToMatrix (const Ogre::Quaternion &quat, const Ogre::Vector3 &pos, dFloat *matrix) |
Take a Quaternion and Position Matrix and create a Newton-happy float matrix! | |
_OgreNewtExport void | MatrixToMatrix4 (const dFloat *matrix_in, Ogre::Matrix4 &matrix_out) |
Take a Newton matrix and make it into an Ogre::Matrix4. | |
_OgreNewtExport void | Matrix4ToMatrix (const Ogre::Matrix4 &matrix_in, dFloat *matrix_out) |
Take an Ogre::Matrix4 and make it into a Newton-happy matrix. | |
_OgreNewtExport Ogre::Quaternion | grammSchmidt (const Ogre::Vector3 &pin) |
void | MatrixToQuatPos (const float *matrix, Ogre::Quaternion &quat, Ogre::Vector3 &pos) |
Take a Newton matrix and create a Quaternion + Position_vector. | |
set of handy convertors.
Ogre::Quaternion OgreNewt::Converters::grammSchmidt | ( | const Ogre::Vector3 & | pin | ) |
Definition at line 105 of file OgreNewt_Tools.cpp.
void OgreNewt::Converters::Matrix4ToMatrix | ( | const Ogre::Matrix4 & | matrix_in, |
dFloat * | matrix_out | ||
) |
Take an Ogre::Matrix4 and make it into a Newton-happy matrix.
matrix_in | Ogre::Matrix4 to be converted. |
matrix_out | Newton-happy output matrix (float[16]) |
Definition at line 81 of file OgreNewt_Tools.cpp.
void OgreNewt::Converters::MatrixToMatrix4 | ( | const dFloat * | matrix_in, |
Ogre::Matrix4 & | matrix_out | ||
) |
Take a Newton matrix and make it into an Ogre::Matrix4.
matrix_in | input matrix from Newton (float[16]) |
matrix_out | output Ogre::Matrix4 object. |
Definition at line 72 of file OgreNewt_Tools.cpp.
_OgreNewtExport void OgreNewt::Converters::MatrixToQuatPos | ( | const dFloat * | matrix, |
Ogre::Quaternion & | quat, | ||
Ogre::Vector3 & | pos | ||
) |
Take a Newton matrix and create a Quaternion + Position_vector.
matrix | input newton matrix (float[16]) |
quat | returned quaternion |
pos | returned position vector |
void OgreNewt::Converters::MatrixToQuatPos | ( | const float * | matrix, |
Ogre::Quaternion & | quat, | ||
Ogre::Vector3 & | pos | ||
) |
Take a Newton matrix and create a Quaternion + Position_vector.
Definition at line 20 of file OgreNewt_Tools.cpp.
void OgreNewt::Converters::QuatPosToMatrix | ( | const Ogre::Quaternion & | quat, |
const Ogre::Vector3 & | pos, | ||
dFloat * | matrix | ||
) |
Take a Quaternion and Position Matrix and create a Newton-happy float matrix!
quat | input quaternion |
pos | input position vector |
matrix | returned matrix (float[16]) |
Definition at line 33 of file OgreNewt_Tools.cpp.