121 if ((box_min.
X > cull_max.
X) || (box_max.
X < cull_min.
X))
return true;
122 if ((box_min.
Y > cull_max.
Y) || (box_max.
Y < cull_min.
Y))
return true;
123 if ((box_min.
Z > cull_max.
Z) || (box_max.
Z < cull_min.
Z))
return true;
222 if ((box_min.
X > cull_max.
X) || (box_max.
X < cull_min.
X))
return true;
223 if ((box_min.
Y > cull_max.
Y) || (box_max.
Y < cull_min.
Y))
return true;
224 if ((box_min.
Z > cull_max.
Z) || (box_max.
Z < cull_min.
Z))
return true;
AABoxIntersectionTestClass(const AABoxIntersectionTestClass &that)
bool Intersect_Triangle(const TriClass &tri)
AABoxIntersectionTestClass(const AABoxClass &box, int collision_type)
bool Cull(const Vector3 &cull_min, const Vector3 &cull_max)
static bool Intersection_Test(const AABoxClass &box, const TriClass &tri)
IntersectionTestClass(int collision_type)
IntersectionTestClass(const IntersectionTestClass &that)
static WWINLINE void Transform_Vector(const Matrix3D &tm, const Vector3 &in, Vector3 *out)
static void Transform(const Matrix3D &tm, const OBBoxClass &in, OBBoxClass *out)
bool Cull(const Vector3 &min, const Vector3 &max)
bool Intersect_Triangle(const TriClass &tri)
OBBoxIntersectionTestClass(const OBBoxClass &box, int collision_type)
void update_bounding_box(void)
static WWINLINE void Subtract(const Vector3 &a, const Vector3 &b, Vector3 *c)
static WWINLINE void Add(const Vector3 &a, const Vector3 &b, Vector3 *c)
static WWINLINE float Fabs(float val)