SO3Engine
|
OgreNewt::Converters Namespace Reference
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. | |
Detailed Description
set of handy convertors.
Function Documentation
◆ grammSchmidt()
Ogre::Quaternion OgreNewt::Converters::grammSchmidt | ( | const Ogre::Vector3 & | pin | ) |
Definition at line 105 of file OgreNewt_Tools.cpp.
◆ Matrix4ToMatrix()
void OgreNewt::Converters::Matrix4ToMatrix | ( | const Ogre::Matrix4 & | matrix_in, |
dFloat * | matrix_out | ||
) |
Take an Ogre::Matrix4 and make it into a Newton-happy matrix.
- Parameters
-
matrix_in Ogre::Matrix4 to be converted. matrix_out Newton-happy output matrix (float[16])
Definition at line 81 of file OgreNewt_Tools.cpp.
◆ MatrixToMatrix4()
void OgreNewt::Converters::MatrixToMatrix4 | ( | const dFloat * | matrix_in, |
Ogre::Matrix4 & | matrix_out | ||
) |
Take a Newton matrix and make it into an Ogre::Matrix4.
- Parameters
-
matrix_in input matrix from Newton (float[16]) matrix_out output Ogre::Matrix4 object.
Definition at line 72 of file OgreNewt_Tools.cpp.
◆ MatrixToQuatPos() [1/2]
_OgreNewtExport void OgreNewt::Converters::MatrixToQuatPos | ( | const dFloat * | matrix, |
Ogre::Quaternion & | quat, | ||
Ogre::Vector3 & | pos | ||
) |
Take a Newton matrix and create a Quaternion + Position_vector.
- Parameters
-
matrix input newton matrix (float[16]) quat returned quaternion pos returned position vector
◆ MatrixToQuatPos() [2/2]
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.
◆ QuatPosToMatrix()
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!
- Parameters
-
quat input quaternion pos input position vector matrix returned matrix (float[16])
Definition at line 33 of file OgreNewt_Tools.cpp.
Generated by 1.9.8