From e96d1453382fb5f24ae5866c9b3bc6ce6b1b8182 Mon Sep 17 00:00:00 2001 From: "chappuis.daniel" Date: Sat, 6 Feb 2010 18:35:50 +0000 Subject: [PATCH] git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@260 92aac97c-a6ce-11dd-a772-7fcde58d38e6 --- sources/reactphysics3d/collision/CollisionDetection.cpp | 2 ++ sources/reactphysics3d/collision/NarrowPhaseSATAlgorithm.cpp | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sources/reactphysics3d/collision/CollisionDetection.cpp b/sources/reactphysics3d/collision/CollisionDetection.cpp index 67260130..4f50af9e 100644 --- a/sources/reactphysics3d/collision/CollisionDetection.cpp +++ b/sources/reactphysics3d/collision/CollisionDetection.cpp @@ -69,6 +69,8 @@ bool CollisionDetection::computeCollisionDetection(CollisionWorld* collisionWorl assert(contact != 0); existsCollision = true; + Vector3D test = contact->getNormal(); // TODO : Delete this + // Add the new collision contact into the collision world collisionWorld->addConstraint(contact); } diff --git a/sources/reactphysics3d/collision/NarrowPhaseSATAlgorithm.cpp b/sources/reactphysics3d/collision/NarrowPhaseSATAlgorithm.cpp index eab6d1ad..6103364f 100644 --- a/sources/reactphysics3d/collision/NarrowPhaseSATAlgorithm.cpp +++ b/sources/reactphysics3d/collision/NarrowPhaseSATAlgorithm.cpp @@ -19,7 +19,6 @@ // Libraries #include "NarrowPhaseSATAlgorithm.h" -#include "ProjectionInterval.h" #include "../body/OBB.h" #include "../body/RigidBody.h" #include "../constraint/Contact.h"