Helper class for math operations related to 3rd party libraries.
More...
#include <mathHelper.h>
Helper class for math operations related to 3rd party libraries.
◆ ConvertMatrixToGLMFormat()
| static glm::mat4 mathHelper::ConvertMatrixToGLMFormat |
( |
const aiMatrix4x4 & | from | ) |
|
|
inlinestatic |
Convert an assimp matrix to a GLM matrix
- Parameters
-
- Returns
- A GLM matrix
◆ GetGLMQuat()
| static glm::quat mathHelper::GetGLMQuat |
( |
const aiQuaternion & | pOrientation | ) |
|
|
inlinestatic |
Convert an assimp quaternion to a GLM quaternion
- Parameters
-
| pOrientation | The input quaternion |
- Returns
- A GLM quaternion
◆ GetGLMVec()
| static glm::vec3 mathHelper::GetGLMVec |
( |
const aiVector3D & | vec | ) |
|
|
inlinestatic |
Convert an assimp vector to a GLM vector
- Parameters
-
- Returns
- A GLM vector
The documentation for this class was generated from the following file: