use btScalar instead of float for btTriangleMesh

thanks to nsarkozi. This fixes issue 704
This commit is contained in:
erwin.coumans
2013-09-12 22:22:15 +00:00
parent 29915ba7fd
commit 8f4f99809e
2 changed files with 5 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ subject to the following restrictions:
class btTriangleMesh : public btTriangleIndexVertexArray
{
btAlignedObjectArray<btVector3> m_4componentVertices;
btAlignedObjectArray<float> m_3componentVertices;
btAlignedObjectArray<btScalar> m_3componentVertices;
btAlignedObjectArray<unsigned int> m_32bitIndices;
btAlignedObjectArray<unsigned short int> m_16bitIndices;