From 55d6b5b8e1467df05872a59df58b4eb1545c2256 Mon Sep 17 00:00:00 2001 From: ejcoumans Date: Thu, 7 Dec 2006 07:46:25 +0000 Subject: [PATCH] added constructor to btPlaneSHape --- .../GIMPACTBullet/btConcaveConcaveCollisionAlgorithm.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Extras/GIMPACTBullet/btConcaveConcaveCollisionAlgorithm.cpp b/Extras/GIMPACTBullet/btConcaveConcaveCollisionAlgorithm.cpp index c83378ac3..e68a987fd 100644 --- a/Extras/GIMPACTBullet/btConcaveConcaveCollisionAlgorithm.cpp +++ b/Extras/GIMPACTBullet/btConcaveConcaveCollisionAlgorithm.cpp @@ -29,10 +29,16 @@ Concave-Concave Collision -//! Class for accessing the plane ecuation +//! Class for accessing the plane equation class btPlaneShape : public btStaticPlaneShape { public: + + btPlaneShape(const btVector3& v, float f) + :btStaticPlaneShape(v,f) + { + } + void get_plane_equation(float equation[4]) { equation[0] = m_planeNormal[0];