Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dispose of any mesh, instead of current mesh -- allows for dynamicall…
…y switching mesh type With this change you can now change in-game (e.g. with voxel-debug): game.meshType = 'surfaceMesh' game.meshType = 'wireMesh' and explore new chunks, then the old meshes will be properly cleaned up (vs crashing).
- Loading branch information