André Schnabel avatar André Schnabel committed 8c78dc6

:3

Comments (0)

Files changed (1)

src/com/andreschnabel/gdxsandbox/flatterrain/FlatTerrainScreen.java

 	private PerspectiveCamera cam = null;
 	
 	/** movement speed constants. */
-	private static final float 	MOV_SPEED = 10f, DRAW_RANGE = 40f;
+	private static final float 	MOV_SPEED = 10f;
 	
 	/** mesh of one block. */
 	private Mesh block;
+	
 	/** textures used in this screen. */
 	private Texture dirtTex, grassTex, sideTex;
 	
 	/** dimensions of the terrain. */
-	private static final int TERRAIN_W = 128, TERRAIN_H = 128, TERRAIN_D = 3;
+	private static final int TERRAIN_W = 128,
+			TERRAIN_H = 128, TERRAIN_D = 3;
 	
 	/** toggles. */
 	private static final boolean 	RENDER_DEBUG = false,
 		}
 		if (drawRight) {
 			block.render(GL10.GL_TRIANGLES, 18, INDICES_PER_QUAD);
-		}
-		
+		}		
 		if (onTop) {
 			grassTex.bind();
 			block.render(GL10.GL_TRIANGLES, 24, INDICES_PER_QUAD);
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.