We no longer call into Chunk to generate block item meshes, instead calling into chunks/mesh. Added a new chunks/geometry object which represents a meshing-in-progress, and contains the uv, verticies, etc. Optimized mesher code a bit more, down to 5.7ms (from 8ms) on my computer.
We no longer call into Chunk to generate block item meshes, instead calling into chunks/mesh. Added a new chunks/geometry object which represents a meshing-in-progress, and contains the uv, verticies, etc. Optimized mesher code a bit more, down to 5.7ms (from 8ms) on my computer.