Matrix4.hpp File Reference
#include <etk/types.hpp>
#include <etk/math/Vector3D.hpp>
#include <cmath>

Go to the source code of this file.

Classes

class  etk::Matrix4
 

Namespaces

 etk
 

Typedefs

using mat4 = etk::Matrix4
 

Functions

template<class T >
etk::degreeToRadian (T _val)
 
template<class T >
etk::radianToDegree (T _val)
 
Matrix4 etk::matFrustum (float _xmin, float _xmax, float _ymin, float _ymax, float _zNear, float _zFar)
 
Matrix4 etk::matPerspective (float _foxy, float _aspect, float _zNear, float _zFar)
 
Matrix4 etk::matOrtho (float _left, float _right, float _bottom, float _top, float _nearVal, float _farVal)
 
Matrix4 etk::matTranslate (vec3 _translate)
 
Matrix4 etk::matScale (vec3 _scale)
 
Matrix4 etk::matRotate (vec3 _normal, float _angleRad=0.0)
 
Matrix4 etk::matLookAt (const vec3 &_eye, const vec3 &_target, const vec3 &_up)
 

Detailed Description

Author
Edouard DUPIN
Note
License: APACHE v2.0 (see license file)

Typedef Documentation

§ mat4

using mat4 = etk::Matrix4

Matrix naming like openGl shader.