Triangle stores an Arc to the shared triangle mesh.
We could make that smaller by instead storing some u32 offset into a list of triangle meshes.
The list of meshes would be constant; I suppose we could pass a reference to it in Triangle functions.
I think this could reduce memory consumption by quite a bit - need to get measurements, though
Triangle stores an Arc to the shared triangle mesh.
We could make that smaller by instead storing some u32 offset into a list of triangle meshes. The list of meshes would be constant; I suppose we could pass a reference to it in Triangle functions.
I think this could reduce memory consumption by quite a bit - need to get measurements, though