File tree 1 file changed +2
-6
lines changed
src/main/java/org/crafter
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ private static String getVersionInfo() {
46
46
private static final Vector3f cameraDelta = new Vector3f ();
47
47
private static final Vector3f newCameraRotation = new Vector3f ();
48
48
49
- private static final int debugChunkSizeRememberToRemoveThisGarbage = 9 ;
49
+ private static final int debugChunkSizeRememberToRemoveThisGarbage = 18 ;
50
50
private static int currentOffsetX = -debugChunkSizeRememberToRemoveThisGarbage ;
51
51
private static int currentOffsetZ = -debugChunkSizeRememberToRemoveThisGarbage ;
52
52
@@ -107,7 +107,7 @@ private static void mainLoop() {
107
107
frameCounter ++;
108
108
} else {
109
109
110
- frameCounter = 0 ;
110
+ frameCounter = frameSkips ; // 0
111
111
112
112
ChunkGenerator .pushRequest (new Vector2i (currentOffsetX , currentOffsetZ ));
113
113
@@ -130,14 +130,10 @@ private static void mainLoop() {
130
130
ShaderStorage .start ("3d" );
131
131
132
132
133
-
134
-
135
-
136
133
//todo This is temp remove me plz
137
134
doFirstPersonCamera ();
138
135
139
136
//Todo: This needs to be wrappered in some type of utility class, this is basically an inter-thread communicator!
140
-
141
137
while (ChunkGenerator .hasUpdate ()) {
142
138
143
139
Chunk generatedChunk = ChunkGenerator .getUpdate ();
You can’t perform that action at this time.
0 commit comments