List of usage examples for javafx.scene.paint Color GREY
Color GREY
To view the source code for javafx.scene.paint Color GREY.
Click Source Link
From source file:nars.rl.util.ThreeDView.java
public ThreeDView(HyperassociativeMap h) { super();/*from w ww . jav a 2 s . c o m*/ this.map = h; buildScene(); buildCamera(); buildAxes(); world.getChildren().addAll(space); double scale = 200.0; for (Object c : h.keys()) { ArrayRealVector v = h.getPosition((UIVertex) c); if (v.getDimension() >= 3) { double x = v.getEntry(0); double y = v.getEntry(1); double z = v.getEntry(2); addPoint(c, 40.0, x * scale, y * scale, z * scale); } } Scene scene = new Scene(root, 1024, 768, true); scene.setFill(Color.GREY); handleKeyboard(scene, world); handleMouse(scene, world); setScene(scene); scene.setCamera(camera); }