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
parent a3d33bee0d
commit ef3622c05a
2 changed files with 10 additions and 14 deletions

View File

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