Update btStaticPlaneShape.cpp

This commit is contained in:
Giuseppe Barbieri
2017-11-01 22:53:39 +01:00
committed by GitHub
parent 5e017a1e4d
commit 5436336a38

View File

@@ -69,8 +69,6 @@ void btStaticPlaneShape::processAllTriangles(btTriangleCallback* callback,const
//tangentDir0/tangentDir1 can be precalculated
btPlaneSpace1(m_planeNormal,tangentDir0,tangentDir1);
btVector3 supVertex0,supVertex1;
btVector3 projectedCenter = center - (m_planeNormal.dot(center) - m_planeConstant)*m_planeNormal;
btVector3 triangle[3];