#include "Stdafx.h"
Go to the source code of this file.
Classes | |
class | Opcode::SAP_Box |
class | Opcode::SAP_Element |
class | Opcode::SAP_EndPoint |
Functions | |
inline_ BOOL | Intersect (const AABB &a, const SAP_Box &b) |
inline_ void | Remap (SAP_Element *&element, udword delta) |
inline_ void | Sort (udword &id0, udword &id1) |
Contains an implementation of the sweep-and-prune algorithm (moved from Z-Collide)
Definition in file OPC_SweepAndPrune.cpp.
Definition at line 522 of file OPC_SweepAndPrune.cpp.
inline_ void Remap | ( | SAP_Element *& | element, |
udword | delta | ||
) |
Remaps a pointer when pool gets resized.
element | [in/out] remapped element |
delta | [in] offset in bytes |
Definition at line 165 of file OPC_SweepAndPrune.cpp.