#include <quat.h>
Collaboration diagram for AABB:

Public Member Functions | |
| void | SetFromCorners (VERTEX c1, VERTEX c2) |
| bool | IntersectRay (VERTEX orig, VERTEX d) |
| bool | IntersectSegment (VERTEX orig, VERTEX d, float seglen) |
| bool | IntersectAABB (AABB &other) |
| VERTEX | GetPos () |
| VERTEX | GetSize () |
| VERTEX | GetCenter () |
| void | DebugPrint () |
| void | GetVerts (VERTEX *eightverts) |
Private Member Functions | |
| float | fabs (float num) |
Private Attributes | |
| VERTEX | pos |
| VERTEX | center |
| VERTEX | size |
Definition at line 142 of file quat.h.
|
|
Definition at line 1242 of file quat.cpp. References center, VERTEX::DebugPrint(), pos, and size. |
|
|
Definition at line 149 of file quat.h. Referenced by IntersectSegment(). |
|
|
Definition at line 159 of file quat.h. References center. Referenced by OBJECTCOLLISION::CollideBranchModel(), and OBJECTS::DrawObject(). |
|
|
Definition at line 157 of file quat.h. References pos. Referenced by IntersectAABB(). |
|
|
Definition at line 158 of file quat.h. References size. Referenced by IntersectAABB(). |
|
|
Definition at line 1273 of file quat.cpp. References pos, VERTEX::Set(), size, VERTEX::x, VERTEX::y, and VERTEX::z. |
|
|
Definition at line 1252 of file quat.cpp. References GetPos(), GetSize(), pos, size, VERTEX::x, VERTEX::y, and VERTEX::z. |
|
||||||||||||
|
Definition at line 1150 of file quat.cpp. References center, VERTEX::cross(), VERTEX::flabs(), pos, size, VERTEX::x, VERTEX::y, and VERTEX::z. Referenced by IntersectSegment(). |
|
||||||||||||||||
|
Definition at line 1198 of file quat.cpp. References center, VERTEX::cross(), fabs(), IntersectRay(), VERTEX::ScaleR(), size, VERTEX::x, VERTEX::y, and VERTEX::z. |
|
||||||||||||
|
Definition at line 1114 of file quat.cpp. References center, pos, VERTEX::ScaleR(), VERTEX::Set(), size, VERTEX::x, VERTEX::y, and VERTEX::z. |
|
|
Definition at line 146 of file quat.h. Referenced by DebugPrint(), GetCenter(), IntersectRay(), IntersectSegment(), and SetFromCorners(). |
|
|
Definition at line 145 of file quat.h. Referenced by DebugPrint(), GetPos(), GetVerts(), IntersectAABB(), IntersectRay(), and SetFromCorners(). |
|
|
Definition at line 147 of file quat.h. Referenced by DebugPrint(), GetSize(), GetVerts(), IntersectAABB(), IntersectRay(), IntersectSegment(), and SetFromCorners(). |
1.4.6