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

This commit is contained in:
chappuis.daniel 2009-07-07 12:59:48 +00:00
parent 5fbc3801b6
commit 845b5d7268
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/****************************************************************************
/***************************************************************************
* Copyright (C) 2009 Daniel Chappuis *
****************************************************************************
* This file is part of ReactPhysics3D. *

View File

@ -22,6 +22,7 @@
// Libraries
#include "../body/BoundingVolume.h"
#include "../constraint/Contact.h"
// Namespace ReactPhysics3D
namespace reactphysics3d {
@ -40,7 +41,7 @@ class NarrowPhaseAlgorithm {
public :
NarrowPhaseAlgorithm(); // Constructor
virtual ~NarrowPhaseAlgorithm(); // Destructor
virtual bool testCollisionPair(const BoundingVolume& boundingVolume1, const BoundingVolume& boundingVolume2)=0; // Return true is the two bounding volume can collide
virtual bool testCollision(const BoundingVolume& boundingVolume1, const BoundingVolume& boundingVolume2, Contact* const contact)=0; // Return true and compute a collision contact if the two bounding volume collide
};
} // End of reactphysics3d namespace