mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 02:26:00 +01:00
Fix using wrong array-length
This commit is contained in:
parent
3cc0ea70a5
commit
462a7545d0
@ -82,7 +82,7 @@ public ResourceModelRenderer(ResourcePack resourcePack, TextureGallery textureGa
|
|||||||
this.blockColorCalculator = resourcePack.getColorCalculatorFactory().createCalculator();
|
this.blockColorCalculator = resourcePack.getColorCalculatorFactory().createCalculator();
|
||||||
|
|
||||||
for (int i = 0; i < corners.length; i++) corners[i] = new VectorM3f(0, 0, 0);
|
for (int i = 0; i < corners.length; i++) corners[i] = new VectorM3f(0, 0, 0);
|
||||||
for (int i = 0; i < uvs.length; i++) rawUvs[i] = new VectorM2f(0, 0);
|
for (int i = 0; i < rawUvs.length; i++) rawUvs[i] = new VectorM2f(0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
private final MatrixM4f modelTransform = new MatrixM4f();
|
private final MatrixM4f modelTransform = new MatrixM4f();
|
||||||
|
Loading…
Reference in New Issue
Block a user