git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@256 92aac97c-a6ce-11dd-a772-7fcde58d38e6

This commit is contained in:
chappuis.daniel 2010-02-05 14:40:07 +00:00
parent dfe70b3ac7
commit a2d22817f0

View File

@ -38,9 +38,10 @@ CollisionWorld::~CollisionWorld() {
}
}
// Add a constraint
// Add a constraint into the collision world
void CollisionWorld::addConstraint(Constraint* constraint) throw(std::invalid_argument) {
// TODO : Implement this method
assert(constraint != 0);
constraintList.push_back(constraint);
}
// Remove a constraint