Exemplo n.º 1
0
 public void start(Stage primaryStage) {
   d3 = new Draw3D();
   Scene scene = d3.buildScene();
   preambleCommands();
   drawingCommands();
   d3.setStart();
   primaryStage.setScene(scene);
   primaryStage.setTitle(title);
   primaryStage.show();
 }
Exemplo n.º 2
0
 void preambleCommands() {
   d3.setAmbientLight(false);
   d3.setPointLight(true);
   d3.setCumulate(false);
   d3.setSequencingOn();
   d3.setVectorRadius(1);
   d3.setArrowRadius(1);
 }