SDK scenecomposer : changed the lineWidth of the axisMarker

- lineWidth of the arrows is now set at 3f
 - the arrows of the axisMarker are now easier to select.
experimental
Dokthar 9 years ago
parent 258fee5753
commit df19c74248
  1. 3
      sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneEditTool.java

@ -453,6 +453,9 @@ public abstract class SceneEditTool {
Geometry arrowX = new Geometry("arrowX", new Arrow(new Vector3f(arrowSize, 0, 0))); Geometry arrowX = new Geometry("arrowX", new Arrow(new Vector3f(arrowSize, 0, 0)));
Geometry arrowY = new Geometry("arrowY", new Arrow(new Vector3f(0, arrowSize, 0))); Geometry arrowY = new Geometry("arrowY", new Arrow(new Vector3f(0, arrowSize, 0)));
Geometry arrowZ = new Geometry("arrowZ", new Arrow(new Vector3f(0, 0, arrowSize))); Geometry arrowZ = new Geometry("arrowZ", new Arrow(new Vector3f(0, 0, arrowSize)));
arrowX.getMesh().setLineWidth(3f);
arrowY.getMesh().setLineWidth(3f);
arrowZ.getMesh().setLineWidth(3f);
axis.attachChild(arrowX); axis.attachChild(arrowX);
axis.attachChild(arrowY); axis.attachChild(arrowY);
axis.attachChild(arrowZ); axis.attachChild(arrowZ);

Loading…
Cancel
Save