#include <b2ContactSolver.h>
Public Member Functions | |
b2ContactSolver (b2Contact **contacts, int32 contactCount, b2StackAllocator *allocator, float32 impulseRatio) | |
~b2ContactSolver () | |
void | WarmStart () |
void | SolveVelocityConstraints () |
void | StoreImpulses () |
bool | SolvePositionConstraints (float32 baumgarte) |
Public Attributes | |
b2StackAllocator * | m_allocator |
b2ContactConstraint * | m_constraints |
int | m_constraintCount |
b2ContactSolver::b2ContactSolver | ( | b2Contact ** | contacts, | |
int32 | contactCount, | |||
b2StackAllocator * | allocator, | |||
float32 | impulseRatio | |||
) |
b2ContactSolver::~b2ContactSolver | ( | ) |
bool b2ContactSolver::SolvePositionConstraints | ( | float32 | baumgarte | ) |
void b2ContactSolver::SolveVelocityConstraints | ( | ) |
void b2ContactSolver::StoreImpulses | ( | ) |
void b2ContactSolver::WarmStart | ( | ) |