SpiecsEngine
 
Loading...
Searching...
No Matches
Math.h File Reference

The Math Implementation. More...

#include "Core/Core.h"
#include "Core/Input/KeyCodes.h"

Go to the source code of this file.

Classes

struct  Spices::UInt2
 double unsigned int More...
 
struct  Spices::String2
 double string More...
 
struct  std::hash< Spices::UInt2 >
 Hash function used for unordered_map. More...
 
struct  std::hash< Spices::String2 >
 

Namespaces

namespace  Spices
 
namespace  std
 STL namespace.
 

Functions

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

Detailed Description

The Math Implementation.

The Math Definitions.

Author
Spices.

Definition in file Math.h.