Mathter
A configurable 3D math library for game developers.
Classes | Namespaces | Functions
PerspectiveBuilder.hpp File Reference
#include "../Matrix/MatrixImpl.hpp"
#include "../Vector.hpp"
#include "IdentityBuilder.hpp"

Go to the source code of this file.

Classes

class  mathter::PerspectiveBuilder< T, Dim, Packed >
 

Namespaces

 mathter
 

Functions

template<class T , int DimMinus1, bool Packed>
auto mathter::Perspective (T fovX, const Vector< T, DimMinus1, Packed > &ratios, T nearPlane, T farPlane, T projNearPlane=T(0), T projFarPlane=T(1))
 Creates a perspective projection matrix. More...
 
template<class T >
auto mathter::Perspective (T fov, T nearPlane, T farPlane, T projNearPlane=T(0), T projFarPlane=T(1))
 Creates a 2D projection matrix. More...
 
template<class T >
auto mathter::Perspective (T fov, T aspectRatio, T nearPlane, T farPlane, T projNearPlane=T(0), T projFarPlane=T(1))
 Creates a 3D projection matrix. More...