valoeghese/2fc0f18

Minimise reuse of vertices in text objects

Opened this issue · 0 comments

by detecting if an existing vertex will be reused (smartly, not through brute force caching). Then just use the index thereof.
Retrieving the index might actually require a hashmap actually, but we can just have it temporarily through the gen buffers method

Also moving text or a square could be done potentially through transforms rather than rebuilding meshes lol