Public Member Functions | |
| BTIntersectStruct (const OBBoxClass &box, const TriClass &tri) | |
Public Attributes | |
| Vector3 | D |
| float | AE [3][3] |
| float | AN [3] |
| Vector3 | AxE [3][3] |
| Vector3 | A [3] |
| Vector3 | E [3] |
| Vector3 | N |
| Vector3 | TestAxis |
| const OBBoxClass & | Box |
| const TriClass & | Tri |
BTIntersectStruct Scratchpad variables for the OBBox-Triangle intersection functions. One instance of this structure will be used for all of the local variables and its pointer will be handed of to various inline functions for the axis tests. Note that much of the code needs the un-normalized triangle normal. For this reason, I have to compute N rather than copying it from the triangle. (commenting this to avoid re-generating a difficult to find bug that I had)
Definition at line 1139 of file colmathobbtri.cpp.
|
inline |
Definition at line 1141 of file colmathobbtri.cpp.
| Vector3 BTIntersectStruct::A[3] |
Definition at line 1162 of file colmathobbtri.cpp.
| float BTIntersectStruct::AE[3][3] |
Definition at line 1158 of file colmathobbtri.cpp.
| float BTIntersectStruct::AN[3] |
Definition at line 1159 of file colmathobbtri.cpp.
| Vector3 BTIntersectStruct::AxE[3][3] |
Definition at line 1160 of file colmathobbtri.cpp.
| const OBBoxClass& BTIntersectStruct::Box |
Definition at line 1168 of file colmathobbtri.cpp.
| Vector3 BTIntersectStruct::D |
Definition at line 1157 of file colmathobbtri.cpp.
| Vector3 BTIntersectStruct::E[3] |
Definition at line 1163 of file colmathobbtri.cpp.
| Vector3 BTIntersectStruct::N |
Definition at line 1164 of file colmathobbtri.cpp.
| Vector3 BTIntersectStruct::TestAxis |
Definition at line 1166 of file colmathobbtri.cpp.
| const TriClass& BTIntersectStruct::Tri |
Definition at line 1169 of file colmathobbtri.cpp.