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"