Go to the source code of this file.
Namespaces | |
| namespace | math |
Functions | |
| template<class T> | |
| const T & | math::min (const T &lhs, const T &rhs) |
| Minimum of two numbers. | |
| template<class T> | |
| const T & | math::max (const T &lhs, const T &rhs) |
| Maximum of two numbers. | |
| template<class T, class S> | |
| T | math::sum3 (const S &vec) |
| Compute the sum of the elements of a 4-element vector. | |
| template<class T, class S> | |
| T | math::sum4 (const S &vec) |
| Compute the sum of the elements of a 3-element vector. | |
| template<class T> | |
| T | math::mul3 (const T &lhs, const T &rhs) |
| Element wise multiplication of a 3-element vector. | |
| template<class T> | |
| T | math::mul4 (const T &lhs, const T &rhs) |
| Element wise multiplication of a 4-element vector. | |
| template<class T, class S> | |
| S | math::dot3 (const T &lhs, const T &rhs) |
| Dot product of a 3-element vector. | |
| template<class T, class S> | |
| S | math::dot4 (const T &lhs, const T &rhs) |
| Dot product of a 4-element vector. | |
| template<class T> | |
| double | math::dp4 (const T &lhs, const T &rhs) |
| Dot product of a 4-element vector. | |
| template<class T> | |
| bool | math::check_epsilon (const T &val, const T &epsilon) |
| Check if val is within the given epsilon environment around zero. | |
| template<class T> | |
| bool | math::check_std_epsilon (const T &val) |
| Check if val lies within the epsilon environment for the data type of val given by std::numeric_limits. | |
| template<class Matrix, class Transform> | |
| void | math::transformQuadric (Matrix &quadric, const Transform &transform) |
| Apply a transformation to the parameter matrix of a quadric. | |
1.4.4