|
| bool | Spices::DecomposeTransform (const glm::mat4 &transform, glm::vec3 &outTranslation, glm::vec3 &outRotation, glm::vec3 &outScale) |
| | Decompose matrix to split SRT transform.
|
| |
| glm::mat4 | Spices::PerspectiveMatrix (float fov, float nearPlane, float farPlane, float aspectRatio) |
| | Calculate Perspective Matrix.
|
| |
| glm::mat4 | Spices::OtrhographicMatrix (float left, float right, float top, float bottom, float nearPlane, float farPlane) |
| | Calculate Otrhographic Matrix.
|
| |
| glm::mat4 | Spices::PerspectiveMatrixInverseZ (float fov, float nearPlane, float aspectRatio) |
| | Calculate Perspective Matrix(reverse z version).
|
| |
The Math Implementation.
The Math Definitions.
- Author
- Spices.
Definition in file Math.h.