Public Member Functions | Public Attributes | List of all members
b2ContactSolver Class Reference

#include <b2ContactSolver.h>

Public Member Functions

 b2ContactSolver (b2ContactSolverDef *def)
 
void InitializeVelocityConstraints ()
 
bool SolvePositionConstraints ()
 
bool SolveTOIPositionConstraints (int32 toiIndexA, int32 toiIndexB)
 
void SolveVelocityConstraints ()
 
void StoreImpulses ()
 
void WarmStart ()
 
 ~b2ContactSolver ()
 

Public Attributes

b2StackAllocatorm_allocator
 
b2Contact ** m_contacts
 
int m_count
 
b2ContactPositionConstraintm_positionConstraints
 
b2Positionm_positions
 
b2TimeStep m_step
 
b2Velocitym_velocities
 
b2ContactVelocityConstraintm_velocityConstraints
 

Detailed Description

Definition at line 69 of file b2ContactSolver.h.

Constructor & Destructor Documentation

b2ContactSolver::b2ContactSolver ( b2ContactSolverDef def)

Definition at line 46 of file b2ContactSolver.cpp.

b2ContactSolver::~b2ContactSolver ( )

Definition at line 133 of file b2ContactSolver.cpp.

Member Function Documentation

void b2ContactSolver::InitializeVelocityConstraints ( )

Definition at line 140 of file b2ContactSolver.cpp.

bool b2ContactSolver::SolvePositionConstraints ( )

Definition at line 671 of file b2ContactSolver.cpp.

bool b2ContactSolver::SolveTOIPositionConstraints ( int32  toiIndexA,
int32  toiIndexB 
)

Definition at line 750 of file b2ContactSolver.cpp.

void b2ContactSolver::SolveVelocityConstraints ( )

Definition at line 291 of file b2ContactSolver.cpp.

void b2ContactSolver::StoreImpulses ( )

Definition at line 604 of file b2ContactSolver.cpp.

void b2ContactSolver::WarmStart ( )

Definition at line 251 of file b2ContactSolver.cpp.

Member Data Documentation

b2StackAllocator* b2ContactSolver::m_allocator

Definition at line 87 of file b2ContactSolver.h.

b2Contact** b2ContactSolver::m_contacts

Definition at line 90 of file b2ContactSolver.h.

int b2ContactSolver::m_count

Definition at line 91 of file b2ContactSolver.h.

b2ContactPositionConstraint* b2ContactSolver::m_positionConstraints

Definition at line 88 of file b2ContactSolver.h.

b2Position* b2ContactSolver::m_positions

Definition at line 85 of file b2ContactSolver.h.

b2TimeStep b2ContactSolver::m_step

Definition at line 84 of file b2ContactSolver.h.

b2Velocity* b2ContactSolver::m_velocities

Definition at line 86 of file b2ContactSolver.h.

b2ContactVelocityConstraint* b2ContactSolver::m_velocityConstraints

Definition at line 89 of file b2ContactSolver.h.


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


mvsim
Author(s):
autogenerated on Thu Jun 6 2019 19:36:40