|
template<class V > |
float | distance (const V &a, const V &b) |
|
template<class T > |
vec2< T > | normalize (const vec2< T > &a) |
|
template<class T > |
vec3< T > | normalize (const vec3< T > &a) |
|
template<class T > |
vec4< T > | normalize (const vec4< T > &a) |
|
template<class T > |
mat4< T > | translate (const mat4< T > &M, const vec3< T > &V) |
|
template<class T > |
mat4< T > | lookAt (const vec3< T > &eye, const vec3< T > ¢er, const vec3< T > &up) |
|
template<class T > |
mat4< T > | ortho (const float &left, const float &right, const float &bottom, const float &top) |
|
template<class T > |
mat4< T > | perspective (const float &FOV, const float &width, const float &height, const float &zNear, const float &zFar) |
|
template<class T > |
mat4< T > | angleAxis (const float &angle, const vec3< T > &axis) |
|
template<class T > |
mat4< T > | scale (const mat4< T > &mat, const float &factor) |
|
template<class T > |
mat4< T > | scale (const mat4< T > &mat, const vec3< T > &factor) |
|
template<typename T , typename U > |
vec3< T > | unProject (vec3< T > const &win, mat4< T > const &model, mat4< T > const &proj, vec4< U > const &viewport) |
|
template<class T > |
mat4< T > | rotate (const mat4< T > &m, const float &angle, vec3< T > u) |
|
template<class T > |
vec3< T > | max (const vec3< T > &a, const vec3< T > &b) |
|
template<class T > |
vec3< T > | lerp (const vec3< T > &p1, const vec3< T > &p2, const float &v) |
|
template<class T > |
vec4< T > | lerp (const vec4< T > &p1, const vec4< T > &p2, const float &v) |
|