Math functions (vector). See math/funcs.hh. REMINDERS: - Consider using MATH_EXCEPTION() instead of ASSERT(). More...
#include "base/clamp.hh"#include "math/types_trig.hh"#include "math/defs_vector.hh"#include "math/vertex.hh"#include "math/funcs_debug.hh"#include "math/funcs.hh"#include "math/funcs_trig.hh"Go to the source code of this file.
Namespaces | |
| namespace | math |
math functions | |
Functions | |
| template<typename FP > | |
| FP | math::Distance (const FP x, const FP y, const FP z) |
| INLINE fp | math::Distance (const Vector2 &v) |
| INLINE fp | math::Distance (const Vector3 &v) |
| template<typename VECTOR3A , typename VECTOR3B > | |
| fpx | math::Distance (const VECTOR3A &v1, const VECTOR3B &v2) |
| INLINE Vector3::value_type | math::DistanceSquared (const Vector3 &v1, const Vector3 &v2) |
| INLINE Vector3 | math::Normalize (const Vector3 &v) |
| template<typename VERTEX , typename FP > | |
| VERTEX | math::Normalize (const FP x, const FP y, const FP z) |
| INLINE Vector3::value_type | math::NormalizeCoord (const uint axis, const Vector3 &v) |
| INLINE Vector3 | math::AddDistance (const Vector3 &v, const fp distance1) |
| INLINE Vector3 | math::CrossProduct (const Vector3 &v1, const Vector3 &v2, const Vector3 &v0=Vector3(0, 0, 0)) |
| INLINE fp | math::DotProduct2 (const Vector2 &v1, const Vector2 &v2) |
| template<typename VECTOR3A , typename VECTOR3B > | |
| fp | math::DotProduct3 (const VECTOR3A &v1, const VECTOR3B &v2) |
| template<typename VECTOR3A , typename VECTOR3B > | |
| fpx | math::DotProduct3_fpx (const VECTOR3A &v1, const VECTOR3B &v2) |
| INLINE Radian | math::Angle2 (const Vector2 &u, const Vector2 &v) |
| template<typename VECTOR > | |
| Radian | math::Angle3 (const VECTOR &u, const VECTOR &v) |
| INLINE Vector3 | math::Interpolate (const Vector3 &v1, const Vector3 &v2, const fp fraction) |
| template<typename T > | |
| T | math::Midpoint (const T &x1, const T &x2) |
| INLINE Vector3 | math::Midpoint (const Vector3 &v1, const Vector3 &v2) |
| INLINE uint | math::CycleAxis3 (const uint axis) |
| template<typename VECTOR > | |
| VECTOR | math::RotateVector3 (const VECTOR &v, const uint axis, const Radian rad) |
Math functions (vector). See math/funcs.hh. REMINDERS: - Consider using MATH_EXCEPTION() instead of ASSERT().
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:10