SpiecsEngine
 
Loading...
Searching...
No Matches
Math.cpp File Reference
#include "Pchheader.h"
#include "Math.h"
#include <glm/gtx/matrix_decompose.hpp>

Go to the source code of this file.

Namespaces

namespace  Spices
 

Macros

#define GLM_ENABLE_EXPERIMENTAL
 

Functions

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).