예제 #1
0
 public ResetCameraAction(ICamera c) {
   camera = c;
   upAxis = camera.getUpAxis();
   rightAxis = camera.getRightAxis();
   viewAxis = camera.getViewDirection();
   location = camera.getLocation();
 }
예제 #2
0
  @Override
  public void performAction(float arg0, Event arg1) {
    camera.setLocation(location);

    camera.setAxes(rightAxis, upAxis, viewAxis);
  }