Przeglądaj źródła

Removed new line in code example.

mitm 7 lat temu
rodzic
commit
3d309e4f6f
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      src/docs/asciidoc/jme3/advanced/debugging.adoc

+ 1 - 2
src/docs/asciidoc/jme3/advanced/debugging.adoc

@@ -63,8 +63,7 @@ Use a wireframe grid (com.jme3.scene.debug.Grid) as a ruler or simple floor.
 
 private Geometry attachGrid(Vector3f pos, int size, ColorRGBA color) {
     Geometry g = new Geometry("wireframe grid", new Grid(size, size, 0.2f));
-    Material mat = new Material(assetManager,
-                                "Common/MatDefs/Misc/Unshaded.j3md");
+    Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
     mat.getAdditionalRenderState().setWireframe(true);
     mat.setColor("Color", color);
     g.setMaterial(mat);