GLM_GTX_norm extension: Varius way to compute vector norms.
|
Functions |
|
template<typename T> |
| T | distance2 (const detail::_xvec4< T > &p0, const detail::_xvec4< T > &p1) |
| | Returns the squared distance between p0 and p1, i.e., length(p0 - p1). (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| T | distance2 (const detail::_xvec3< T > &p0, const detail::_xvec3< T > &p1) |
| | Returns the squared distance between p0 and p1, i.e., length(p0 - p1). (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| T | distance2 (const detail::_xvec2< T > &p0, const detail::_xvec2< T > &p1) |
| | Returns the squared distance between p0 and p1, i.e., length(p0 - p1). (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| T | distance2 (const T p0, const T p1) |
| | Returns the squared distance between p0 and p1, i.e., length(p0 - p1). (From GLSL 1.10.59 specification).
|
|
template<typename T> |
| T | l1Norm (const detail::_xvec3< T > &v) |
| | Returns the L1 norm of v (from GLM_GTX_norm extension).
|
|
template<typename T> |
| T | l1Norm (const detail::_xvec3< T > &x, const detail::_xvec3< T > &y) |
| | Returns the L1 norm between x and y (from GLM_GTX_norm extension).
|
|
template<typename T> |
| T | l2Norm (const detail::_xvec3< T > &x) |
| | Returns the L2 norm of v (from GLM_GTX_norm extension).
|
|
template<typename T> |
| T | l2Norm (const detail::_xvec3< T > &x, const detail::_xvec3< T > &y) |
| | Returns the L2 norm between x and y (from GLM_GTX_norm extension).
|
|
template<typename T> |
| T | length2 (const detail::_xquat< T > &q) |
| | Returns the squared length of x (from GLM_GTX_norm extension).
|
|
template<typename T> |
| T | length2 (const detail::_xvec4< T > &x) |
| | Returns the squared length of x (from GLM_GTX_norm extension).
|
|
template<typename T> |
| T | length2 (const detail::_xvec3< T > &x) |
| | Returns the squared length of x (from GLM_GTX_norm extension).
|
|
template<typename T> |
| T | length2 (const detail::_xvec2< T > &x) |
| | Returns the squared length of x (from GLM_GTX_norm extension).
|
|
template<typename T> |
| T | length2 (const T x) |
| | Returns the squared length of x (from GLM_GTX_norm extension).
|
|
template<typename T> |
| T | lxNorm (const detail::_xvec3< T > &x, unsigned int Depth) |
| | Returns the L norm of v (from GLM_GTX_norm extension).
|
|
template<typename T> |
| T | lxNorm (const detail::_xvec3< T > &x, const detail::_xvec3< T > &y, unsigned int Depth) |
| | Returns the L norm between x and y (from GLM_GTX_norm extension).
|
GLM_GTX_norm extension: Varius way to compute vector norms.