From a2d22817f0e954a68858fc32e37379c4c9583f26 Mon Sep 17 00:00:00 2001 From: "chappuis.daniel" Date: Fri, 5 Feb 2010 14:40:07 +0000 Subject: [PATCH] git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@256 92aac97c-a6ce-11dd-a772-7fcde58d38e6 --- sources/reactphysics3d/engine/CollisionWorld.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sources/reactphysics3d/engine/CollisionWorld.cpp b/sources/reactphysics3d/engine/CollisionWorld.cpp index eddcd5f9..558ca20b 100644 --- a/sources/reactphysics3d/engine/CollisionWorld.cpp +++ b/sources/reactphysics3d/engine/CollisionWorld.cpp @@ -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