more work on serialization, initial for btTriangleMeshShape/btBvhTriangleMeshShape (only for floating point vertices, integer indices) work-in-progress
This commit is contained in:
@@ -106,7 +106,7 @@ struct btMeshPartData
|
||||
{
|
||||
btVector3Data *m_vertices;
|
||||
btIntIndexData *m_indices;
|
||||
int m_numTriangles;
|
||||
int m_numTriangles;//length of m_indices = 3*m_numTriangles
|
||||
int m_numVertices;
|
||||
};
|
||||
|
||||
@@ -118,6 +118,8 @@ struct btStridingMeshInterfaceData
|
||||
|
||||
btVector3Data m_scaling;
|
||||
|
||||
char m_padding[4];
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user