There was an error while loading. Please reload this page.
1 parent cd31488 commit e98a606Copy full SHA for e98a606
src/main/java/me/toast/engine/world/entities/UnitBox.java
@@ -14,7 +14,7 @@ public class UnitBox extends Entity {
14
public MeshComponent meshCom;
15
public TransformComponent transform;
16
17
- static Vector3f[] cube_vertices = {
+ static final Vector3f[] cube_vertices = {
18
// front
19
new Vector3f(-1.0f, -1.0f, 1.0f),
20
new Vector3f(1.0f, -1.0f, 1.0f),
@@ -27,7 +27,7 @@ public class UnitBox extends Entity {
27
new Vector3f(-1.0f, 1.0f, -1.0f)
28
};
29
30
- static int[] cube_elements = {
+ static final int[] cube_elements = {
31
32
0, 1, 2,
33
2, 3, 0,
0 commit comments