git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@293 92aac97c-a6ce-11dd-a772-7fcde58d38e6
This commit is contained in:
parent
843b226321
commit
05cb6572e2
|
@ -41,6 +41,9 @@ void ConstraintSolver::allocate(std::vector<Constraint*>& constraints, std::vect
|
||||||
this->bodies = bodies;
|
this->bodies = bodies;
|
||||||
this->nbBodies = bodies.size();
|
this->nbBodies = bodies.size();
|
||||||
|
|
||||||
|
// TODO : Now we keep every bodies of the physics world in the "bodies" std:vector of the constraint solver.
|
||||||
|
// but maybe we could only keep track of the body that are part of some constraints.
|
||||||
|
|
||||||
// For each constraint
|
// For each constraint
|
||||||
for (unsigned int i=0; i<constraints.size(); ++i) {
|
for (unsigned int i=0; i<constraints.size(); ++i) {
|
||||||
// Evaluate the constraint
|
// Evaluate the constraint
|
||||||
|
|
Loading…
Reference in New Issue
Block a user