Quark Physics  1.0
2D Rigid and Soft Body Physics Engine
QBroadPhase Class Reference
Inheritance diagram for QBroadPhase:

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::BodyPairEqualpairs
 

The documentation for this class was generated from the following files: