#include <Opcode.h>
Public Member Functions | |
inline_ | BVTCache () |
Constructor. | |
void | ResetCache () |
inline_ void | ResetCountDown () |
Public Attributes | |
const Model * | Model0 |
Model for first object. | |
const Model * | Model1 |
Model for second object. |
This structure holds cached information used by the algorithm. Two model pointers and two colliding primitives are cached. Model pointers are assigned to their respective meshes, and the pair of colliding primitives is used for temporal coherence. That is, in case temporal coherence is enabled, those two primitives are tested for overlap before everything else. If they still collide, we're done before even entering the recursive collision code.
inline_ Opcode::BVTCache::BVTCache | ( | ) | [inline] |
void Opcode::BVTCache::ResetCache | ( | ) | [inline] |
inline_ void Opcode::BVTCache::ResetCountDown | ( | ) | [inline] |