make stuff more readable

pull/12/head
hYdos 2020-02-27 06:28:18 +10:00
parent 1189a25926
commit bdd66cf3b8
2 changed files with 16 additions and 2 deletions

View File

@ -83,8 +83,7 @@ public class World implements BlockAccess, WorldGenConstants
//used for model combining and culling
public Chunk optimiseChunk(Chunk chunk)
{
//TODO: use this
return null;
return chunk;
}
public void render(ObjectRenderer entityRenderer)

View File

@ -10,22 +10,32 @@ public class StaticCube
-0.5f, -0.5f, -0.5f,
0.5f, -0.5f, -0.5f,
0.5f, 0.5f, -0.5f,
-0.5f, 0.5f, 0.5f,
-0.5f, -0.5f, 0.5f,
0.5f, -0.5f, 0.5f,
0.5f, 0.5f, 0.5f,
0.5f, 0.5f, -0.5f,
0.5f, -0.5f, -0.5f,
0.5f, -0.5f, 0.5f,
0.5f, 0.5f, 0.5f,
-0.5f, 0.5f, -0.5f,
-0.5f, -0.5f, -0.5f,
-0.5f, -0.5f, 0.5f,
-0.5f, 0.5f, 0.5f,
-0.5f, 0.5f, 0.5f,
-0.5f, 0.5f, -0.5f,
0.5f, 0.5f, -0.5f,
0.5f, 0.5f, 0.5f,
-0.5f, -0.5f, 0.5f,
-0.5f, -0.5f, -0.5f,
0.5f, -0.5f, -0.5f,
@ -62,14 +72,19 @@ public class StaticCube
{
0, 1, 3,
3, 1, 2,
4, 5, 7,
7, 5, 6,
8, 9, 11,
11, 9, 10,
12, 13, 15,
15, 13, 14,
16, 17, 19,
19, 17, 18,
20, 21, 23,
23, 21, 22
};