Fix performance issue when building b3 meshes
Summary of Changes Introduced
- Remove append_triangle in favour of insert_triangles
- Only call BuildMesh once when adding triangles to a static body
PR Checklist
-
I have documented any user-visible changes to the code in the documentation folder -
I agree that the changes introduced in this PR are licensed under the LGPL-3.0 license (Why?) -
I have added applicable tests, or at least not introduced any failures
Closes #348 (closed)