소스 검색

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);