fix doubleprecision build
This commit is contained in:
@@ -123,7 +123,7 @@ btShapeHull::buildHull (btScalar margin)
|
|||||||
hd.mVertices = tmpVerts;
|
hd.mVertices = tmpVerts;
|
||||||
hd.mVertexStride = 3*sizeof(float);//sizeof (btVector3);
|
hd.mVertexStride = 3*sizeof(float);//sizeof (btVector3);
|
||||||
#else
|
#else
|
||||||
hd.mVertices = &supportPoints[0];
|
hd.mVertices = &supportPoints[0].getX();
|
||||||
hd.mVertexStride = sizeof (btVector3);
|
hd.mVertexStride = sizeof (btVector3);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user