![]() |
Quark Physics
1.0
2D Rigid and Soft Body Physics Engine
|


Public Member Functions | |
| QSpatialHashing (vector< QBody * > &worldBodies, float sizeOfCells=128.0f) | |
| void | Clear () |
| void | Insert (QBody *body) |
| void | Remove (QBody *body) |
| void | SetCellSize (float size) |
| std::unordered_set< std::pair< QBody *, QBody * >, QBody::BodyPairHash, QBody::BodyPairEqual > & | GetPairs () |
Public Member Functions inherited from QBroadPhase | |
| QBroadPhase (vector< QBody * > &worldBodies) | |
Additional Inherited Members | |
Public Attributes inherited from QBroadPhase | |
| vector< QBody * > & | bodies |
Protected Member Functions inherited from QBroadPhase | |
| bool | BodiesCanCollide (QBody *bodyA, QBody *bodyB) |
Protected Attributes inherited from QBroadPhase | |
| std::unordered_set< pair< QBody *, QBody * >, QBody::BodyPairHash, QBody::BodyPairEqual > | pairs |