Hull sharing (#13)
Save memory when there are many duplicate hulls. Can improve performance in some cases. For consistency with b3MeshData, b3Hull is renamed to b3HullData.
This commit is contained in:
parent
d8fbeb444e
commit
a252f03b19
66 changed files with 881 additions and 549 deletions
|
|
@ -669,7 +669,7 @@ public:
|
|||
|
||||
b3Transform m_meshTransform;
|
||||
b3MeshData* m_meshData;
|
||||
b3Hull* m_cylinderHull;
|
||||
b3HullData* m_cylinderHull;
|
||||
b3Vec3 m_velocities[7];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue