git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@256 92aac97c-a6ce-11dd-a772-7fcde58d38e6
This commit is contained in:
parent
dfe70b3ac7
commit
a2d22817f0
|
@ -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) {
|
void CollisionWorld::addConstraint(Constraint* constraint) throw(std::invalid_argument) {
|
||||||
// TODO : Implement this method
|
assert(constraint != 0);
|
||||||
|
constraintList.push_back(constraint);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove a constraint
|
// Remove a constraint
|
||||||
|
|
Loading…
Reference in New Issue
Block a user