diff options
Diffstat (limited to 'extern/bullet2/src/BulletCollision/Gimpact/btCompoundFromGimpact.h')
-rw-r--r-- | extern/bullet2/src/BulletCollision/Gimpact/btCompoundFromGimpact.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/extern/bullet2/src/BulletCollision/Gimpact/btCompoundFromGimpact.h b/extern/bullet2/src/BulletCollision/Gimpact/btCompoundFromGimpact.h index 8d4c35515b1..02f8b678a45 100644 --- a/extern/bullet2/src/BulletCollision/Gimpact/btCompoundFromGimpact.h +++ b/extern/bullet2/src/BulletCollision/Gimpact/btCompoundFromGimpact.h @@ -67,13 +67,8 @@ struct MyCallback : public btTriangleRaycastCallback } - - btConvexHullShape* tet = new btConvexHullShape(); - tet->addPoint(v0); - tet->addPoint(v1); - tet->addPoint(v2); - tet->addPoint(rayTo); + btBU_Simplex1to4* tet = new btBU_Simplex1to4(v0,v1,v2,rayTo); btTransform ident; ident.setIdentity(); m_colShape->addChildShape(ident,tet); |