for for btBvhTriangleMeshShape with short int indices serialization

disable bvh serialization, it has issues (needs testing)
This commit is contained in:
erwin.coumans
2010-02-27 09:16:42 +00:00
parent aab5652e7d
commit d5ea1d569f
13 changed files with 607 additions and 594 deletions

View File

@@ -104,9 +104,12 @@ struct btIntIndexData
int m_value;
};
struct btShortIntIndexData
struct btShortIntIndexTripletData
{
short int m_value;
short m_values[3];
char m_pad[2];
};
///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
@@ -115,9 +118,10 @@ struct btMeshPartData
btVector3FloatData *m_vertices3f;
btVector3DoubleData *m_vertices3d;
btIntIndexData *m_indices32;
btShortIntIndexData *m_indices16;
int m_numTriangles;//length of m_indices = 3*m_numTriangles
btIntIndexData *m_indices32;
btShortIntIndexTripletData *m_3indices16;
int m_numTriangles;//length of m_indices = m_numTriangles
int m_numVertices;
};