Quark Physics
1.0
2D Rigid and Soft Body Physics Engine
|
Public Member Functions | |
QBroadPhase (vector< QBody * > &worldBodies) | |
virtual void | Clear () |
virtual std::unordered_set< pair< QBody *, QBody * >, QBody::BodyPairHash, QBody::BodyPairEqual > & | GetPairs () |
virtual void | Insert (QBody *body) |
virtual void | Remove (QBody *body) |
Public Attributes | |
vector< QBody * > & | bodies |
Protected Member Functions | |
bool | BodiesCanCollide (QBody *bodyA, QBody *bodyB) |
Protected Attributes | |
std::unordered_set< pair< QBody *, QBody * >, QBody::BodyPairHash, QBody::BodyPairEqual > | pairs |