예제 #1
0
  @Override
  protected void initExample() {
    _canvas.setTitle("Interact Example");

    final Camera camera = _canvas.getCanvasRenderer().getCamera();
    camera.setLocation(-20, 70, 180);
    camera.lookAt(0, 0, 0, Vector3.UNIT_Y);

    // setup our interact controls
    addControls();

    // create a floor to act as a reference.
    addFloor();

    // create an object or two to manipulate
    addObjects();
  }