Преглед на файлове

Removed new line in code example.

mitm преди 7 години
родител
ревизия
3d309e4f6f
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  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);