SimpleNGL 1.0
|
#include "NGLMath.h"
Functions | |
ngl::Matrix | Lookat (const ngl::Vector &_eye, const ngl::Vector &_target, const ngl::Vector &_lookup) |
method for constructing view matrix based on a approximated 'up' vector | |
ngl::Matrix | Adj (const ngl::Matrix &_mat) |
calculated adjoint of matrix | |
float | Det (const ngl::Matrix &_mat) |
calculated determinant of matrix | |
ngl::Matrix | Inverse (const ngl::Matrix &_mat) |
the inverse of a matrix |
ngl::Matrix Adj | ( | const ngl::Matrix & | _mat | ) |
calculated adjoint of matrix
[in] | _mat | the matrix to calculate from |
float Det | ( | const ngl::Matrix & | _mat | ) |
calculated determinant of matrix
[in] | _mat | the matrix to calculate from |
ngl::Matrix Inverse | ( | const ngl::Matrix & | _mat | ) |
the inverse of a matrix
[in] | _mat | the matrix to calculate from |
ngl::Matrix Lookat | ( | const ngl::Vector & | _eye, |
const ngl::Vector & | _target, | ||
const ngl::Vector & | _lookup | ||
) |
method for constructing view matrix based on a approximated 'up' vector
[in] | _eye | the position of the source |
[in] | _target | the position the source is looking at |
[in] | _lookup | the approximated 'up' vector for this source |