|
template<typename T > |
T | Sqr (T x) |
|
template<typename T > |
T | Newton1 (const T a[3], T x) |
|
int | QuadraticPolynomialRoot (const double a[2], double x[], int i, int j) |
|
int | QuadraticPolynomialRoot (const double a[2], const double o[3], double x[], int i, int j) |
|
int | CubicPolynomialRoot (const double a[4], double x[3]) |
|
template<typename T > |
T | PositiveCubicPolynomialRoot (T a, T b, T c) |
| solve cubic equation x^3 + a*x^2 + b*x + c More...
|
|
template double | PositiveCubicPolynomialRoot (double, double, double) |
|
template float | PositiveCubicPolynomialRoot (float, float, float) |
|
template<typename T > |
T | Clamp (T a, T min, T max) |
| Clamp value between minimum and maximum. More...
|
|
template<typename T > |
T | PositiveQuadraticPolynomialRoot (T a, T b, T c) |
|
Vector3 | Barycentric (const Vector3 &a, const Vector3 &b, const Vector3 &c, const Vector3 &p) |
| Compute barycentric coordinates (u, v, w) for point p with respect to triangle (a, b, c) More...
|
|
Common math functions and constants.