kaplay
kaplay copied to clipboard
feat: add Mesh class and drawMesh for more optimized drawing
Rebuilding meshes on each frame is slow. Therefore we need a Mesh object which can optionally cache its data on the GPU. This way only a single draw operation needs to be sent to the GPU in order to draw it.