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-03 13:21:32 -04:00
committed by Owain van Brakel
parent 48fda0dd9a
commit 3181022c83
2 changed files with 10 additions and 14 deletions

View File

@@ -90,8 +90,7 @@ public interface Model extends Renderable
short[] getFaceTextures();
float[][] getFaceTextureUCoordinates();
float[][] getFaceTextureVCoordinates();
float[] getFaceTextureUVCoordinates();
void calculateExtreme(int orientation);