api: flatten model uvs

This drastically reduces the number of allocated float arrays on the heap just by flattening the uvs into a single array per model
This commit is contained in:
Adam
2021-09-07 03:20:42 +02:00
committed by Owain van Brakel
parent 48fda0dd9a
commit 3181022c83
2 changed files with 10 additions and 14 deletions
@@ -90,8 +90,7 @@ public interface Model extends Renderable
short[] getFaceTextures();
float[][] getFaceTextureUCoordinates();
float[][] getFaceTextureVCoordinates();
float[] getFaceTextureUVCoordinates();
void calculateExtreme(int orientation);