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

Go to the source code of this file.

Classes

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

Namespaces

 mathter
 

Functions

template<class T , int Dim, bool Packed, size_t BaseDim, size_t FlipDim>
auto mathter::LookAt (const Vector< T, Dim, Packed > &eye, const Vector< T, Dim, Packed > &target, const std::array< Vector< T, Dim, Packed >, BaseDim > &bases, const std::array< bool, FlipDim > &flipAxes)
 Creates a camera look-at matrix. More...
 
template<class T , bool Packed>
auto mathter::LookAt (const Vector< T, 2, Packed > &eye, const Vector< T, 2, Packed > &target, bool positiveYForward=true, bool flipX=false)
 Creates a 2D look-at matrix. More...
 
template<class T , bool Packed>
auto mathter::LookAt (const Vector< T, 3, Packed > &eye, const Vector< T, 3, Packed > &target, const Vector< T, 3, Packed > &up, bool positiveZForward=true, bool flipX=false, bool flipY=false)
 Creates a 3D look-at matrix. More...