|
template<::std::size_t D, class T > |
static trimesh::Vec< D, T > | abs (const trimesh::Vec< D, T > &v) |
|
template<size_t D, class T > |
static const T | trimesh::angle (const Vec< D, T > &v1, const Vec< D, T > &v2) |
|
template<class T > |
static T | trimesh::clamp (const T &x, const T &a, const T &b) |
|
template<class T > |
static T | trimesh::cube (const T &x) |
|
template<size_t D, class T > |
static const T | trimesh::dist (const Vec< D, T > &v1, const Vec< D, T > &v2) |
|
template<size_t D, class T > |
static const T | trimesh::dist2 (const Vec< D, T > &v1, const Vec< D, T > &v2) |
|
template<size_t D, class T > |
static T | trimesh::faceforward (const Vec< D, T > &N, const Vec< D, T > &I, const Vec< D, T > &Nref) |
|
template<class T > |
static T | trimesh::fract (const T &x) |
|
template<size_t D, class T > |
static const T | trimesh::len (const Vec< D, T > &v) |
|
template<size_t D, class T > |
static const T | trimesh::len2 (const Vec< D, T > &v) |
|
template<class T , class S > |
static T | trimesh::mix (const T &x, const T &y, const S &a) |
|
template<size_t D, class T > |
static Vec< D, T > | trimesh::normalize (Vec< D, T > &v) |
|
template<size_t D, class T > |
static bool | trimesh::operator! (const Vec< D, T > &v) |
|
template<size_t D, class T > |
static bool | trimesh::operator!= (const Vec< D, T > &v1, const Vec< D, T > &v2) |
|
template<size_t D, class T > |
static const Vec< D, T > | trimesh::operator& (const Vec< D, T > &v1, const Vec< D, T > &v2) |
|
template<size_t D, class T > |
static const T | trimesh::operator* (const Vec< D, T > &v1, const Vec< D, T > &v2) |
|
template<size_t D, class T > |
static const Vec< D, T > | trimesh::operator* (const T &x, const Vec< D, T > &v) |
|
template<size_t D, class T > |
static const Vec< D, T > | trimesh::operator* (const Vec< D, T > &v, const T &x) |
|
template<size_t D, class T > |
static const Vec< D, T > | trimesh::operator+ (const Vec< D, T > &v1, const Vec< D, T > &v2) |
|
template<size_t D, class T > |
static const Vec< D, T > & | trimesh::operator+ (const Vec< D, T > &v) |
|
template<size_t D, class T > |
static const Vec< D, T > | trimesh::operator- (const Vec< D, T > &v1, const Vec< D, T > &v2) |
|
template<size_t D, class T > |
static const Vec< D, T > | trimesh::operator- (const Vec< D, T > &v) |
|
template<size_t D, class T > |
static const Vec< D, T > | trimesh::operator/ (const Vec< D, T > &v1, const Vec< D, T > &v2) |
|
template<size_t D, class T > |
static const Vec< D, T > | trimesh::operator/ (const T &x, const Vec< D, T > &v) |
|
template<size_t D, class T > |
static const Vec< D, T > | trimesh::operator/ (const Vec< D, T > &v, const T &x) |
|
template<size_t D, class T > |
static bool | trimesh::operator< (const Vec< D, T > &v1, const Vec< D, T > &v2) |
|
template<size_t D, class T > |
static inline::std::ostream & | trimesh::operator<< (::std::ostream &os, const Vec< D, T > &v) |
|
template<size_t D, class T > |
static bool | trimesh::operator<= (const Vec< D, T > &v1, const Vec< D, T > &v2) |
|
template<size_t D, class T > |
static bool | trimesh::operator== (const Vec< D, T > &v1, const Vec< D, T > &v2) |
|
template<size_t D, class T > |
static bool | trimesh::operator> (const Vec< D, T > &v1, const Vec< D, T > &v2) |
|
template<size_t D, class T > |
static bool | trimesh::operator>= (const Vec< D, T > &v1, const Vec< D, T > &v2) |
|
template<size_t D, class T > |
static inline::std::istream & | trimesh::operator>> (::std::istream &is, Vec< D, T > &v) |
|
template<class T > |
static const Vec< 3, T > | trimesh::operator^ (const Vec< 3, T > &v1, const Vec< 3, T > &v2) |
|
template<size_t D, class T > |
static T | trimesh::reflect (const Vec< D, T > &I, const Vec< D, T > &N) |
|
template<size_t D, class T > |
static T | trimesh::refract (const Vec< D, T > &I, const Vec< D, T > &N, const T &eta) |
|
template<class T > |
static T | trimesh::sgn (const T &x) |
|
template<class T > |
static T | trimesh::smoothstep (const T &a, const T &b, const T &x) |
|
template<class T > |
static T | trimesh::sqr (const T &x) |
|
template<class T > |
static T | trimesh::step (const T &a, const T &x) |
|
template<size_t D, class T > |
static void | std::swap (const ::trimesh::Vec< D, T > &v1, const ::trimesh::Vec< D, T > &v2) |
|
template<class T > |
static T | trimesh::trinorm (const T &v0, const T &v1, const T &v2) |
|