make stuff more readable
parent
1189a25926
commit
bdd66cf3b8
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue