Enumerations | |
enum | Axes { X = 0, Y = 1, Z = 2 } |
Functions | |
template<typename T > | |
void | cross (T dest[3], T a[3], T b[3]) |
template<typename T > | |
T | dot (T a[3], T b[3]) |
template<typename T > | |
void | subtract (T dest[3], T a[3], T b[3]) |
template<typename T > | |
void | findMinMax (T x0, T x1, T x2, T &min, T &max) |
template<typename T > | |
bool | planeBoxIntersect (T normal[3], T d, T maxbox[3]) |
template<int Axis0, int Axis1, typename T > | |
bool | axisTest (T edge[3], T fedge[3], T v0[3], T v1[3], T boxhalfsize[3]) |
Definition at line 22 of file bvgl_intersection.txx.
bool bvgl_intersection_helpers::axisTest | ( | T | edge[3], |
T | fedge[3], | ||
T | v0[3], | ||
T | v1[3], | ||
T | boxhalfsize[3] | ||
) | [inline] |
Definition at line 68 of file bvgl_intersection.txx.
void bvgl_intersection_helpers::cross | ( | T | dest[3], |
T | a[3], | ||
T | b[3] | ||
) | [inline] |
Definition at line 25 of file bvgl_intersection.txx.
T bvgl_intersection_helpers::dot | ( | T | a[3], |
T | b[3] | ||
) | [inline] |
Definition at line 32 of file bvgl_intersection.txx.
void bvgl_intersection_helpers::findMinMax | ( | T | x0, |
T | x1, | ||
T | x2, | ||
T & | min, | ||
T & | max | ||
) | [inline] |
Definition at line 42 of file bvgl_intersection.txx.
bool bvgl_intersection_helpers::planeBoxIntersect | ( | T | normal[3], |
T | d, | ||
T | maxbox[3] | ||
) |
Definition at line 51 of file bvgl_intersection.txx.
void bvgl_intersection_helpers::subtract | ( | T | dest[3], |
T | a[3], | ||
T | b[3] | ||
) | [inline] |
Definition at line 35 of file bvgl_intersection.txx.