Lugdunum  0.1.0
Functions
Transform.inl File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
Matrix< 4, 4, T > translate (const Vector< 3, T > &direction)
 
template<typename T >
Matrix< 4, 4, T > rotate (T angle, const Vector< 3, T > &a)
 
template<typename T >
Matrix< 4, 4, T > scale (const Vector< 3, T > &factors)
 
template<typename T >
Matrix< 4, 4, T > lookAt (const Vector< 3, T > &eye, const Vector< 3, T > &center, const Vector< 3, T > &up)
 
template<typename T >
Matrix< 4, 4, T > ortho (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
Matrix< 4, 4, T > perspective (T fovy, T aspect, T zNear, T zFar)
 

Function Documentation

◆ translate()

template<typename T >
Matrix<4, 4, T> translate ( const Vector< 3, T > &  direction)
inline

Definition at line 2 of file Transform.inl.

◆ rotate()

template<typename T >
Matrix<4, 4, T> rotate ( angle,
const Vector< 3, T > &  a 
)
inline

Definition at line 13 of file Transform.inl.

◆ scale()

template<typename T >
Matrix<4, 4, T> scale ( const Vector< 3, T > &  factors)
inline

Definition at line 41 of file Transform.inl.

◆ lookAt()

template<typename T >
Matrix<4, 4, T> lookAt ( const Vector< 3, T > &  eye,
const Vector< 3, T > &  center,
const Vector< 3, T > &  up 
)
inline

Definition at line 52 of file Transform.inl.

◆ ortho()

template<typename T >
Matrix<4, 4, T> ortho ( left,
right,
bottom,
top,
zNear,
zFar 
)
inline

Definition at line 81 of file Transform.inl.

◆ perspective()

template<typename T >
Matrix<4, 4, T> perspective ( fovy,
aspect,
zNear,
zFar 
)
inline

Definition at line 95 of file Transform.inl.