#include <coltest.h>
Inherits CollisionTestClass.
Public Types | |
| enum | ROTATION_TYPE { ROTATE_NONE = 0 , ROTATE_Z90 , ROTATE_Z180 , ROTATE_Z270 } |
Public Member Functions | |
| AABoxCollisionTestClass (const AABoxClass &aabox, const Vector3 &move, CastResultStruct *res, int collision_type=COLL_TYPE_0) | |
| AABoxCollisionTestClass (const AABoxCollisionTestClass &that) | |
| bool | Cull (const Vector3 &min, const Vector3 &max) |
| bool | Cull (const AABoxClass &box) |
| bool | Cast_To_Triangle (const TriClass &tri) |
| void | Translate (const Vector3 &translation) |
| void | Rotate (ROTATION_TYPE rotation) |
| void | Transform (const Matrix3D &tm) |
Public Member Functions inherited from CollisionTestClass | |
| CollisionTestClass (CastResultStruct *res, int collision_type) | |
| CollisionTestClass (const CollisionTestClass &that) | |
Public Attributes | |
| AABoxClass | Box |
| Vector3 | Move |
| Vector3 | SweepMin |
| Vector3 | SweepMax |
Public Attributes inherited from CollisionTestClass | |
| CastResultStruct * | Result |
| int | CollisionType |
| RenderObjClass * | CollidedRenderObj |
| AABoxCollisionTestClass::AABoxCollisionTestClass | ( | const AABoxClass & | aabox, |
| const Vector3 & | move, | ||
| CastResultStruct * | res, | ||
| int | collision_type = COLL_TYPE_0 ) |
Definition at line 50 of file coltest.cpp.
| AABoxCollisionTestClass::AABoxCollisionTestClass | ( | const AABoxCollisionTestClass & | that | ) |
Definition at line 41 of file coltest.cpp.
| bool AABoxCollisionTestClass::Cull | ( | const AABoxClass & | box | ) |
Definition at line 71 of file coltest.cpp.
| void AABoxCollisionTestClass::Rotate | ( | ROTATION_TYPE | rotation | ) |
Definition at line 99 of file coltest.cpp.
| void AABoxCollisionTestClass::Transform | ( | const Matrix3D & | tm | ) |
Definition at line 229 of file coltest.cpp.
|
inline |
| AABoxClass AABoxCollisionTestClass::Box |