From a267152945205936bfa10f8c6069774bee35a7f8 Mon Sep 17 00:00:00 2001 From: ejcoumans Date: Thu, 24 Jan 2008 02:41:45 +0000 Subject: [PATCH] fix doubleprecision build --- src/BulletCollision/CollisionShapes/btShapeHull.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BulletCollision/CollisionShapes/btShapeHull.cpp b/src/BulletCollision/CollisionShapes/btShapeHull.cpp index a2be1eb73..b760431b2 100644 --- a/src/BulletCollision/CollisionShapes/btShapeHull.cpp +++ b/src/BulletCollision/CollisionShapes/btShapeHull.cpp @@ -123,7 +123,7 @@ btShapeHull::buildHull (btScalar margin) hd.mVertices = tmpVerts; hd.mVertexStride = 3*sizeof(float);//sizeof (btVector3); #else - hd.mVertices = &supportPoints[0]; + hd.mVertices = &supportPoints[0].getX(); hd.mVertexStride = sizeof (btVector3); #endif