Examples of nudgeTo()


Examples of org.andrewberman.ui.camera.Camera.nudgeTo()

      // new distances from down point to center.
      float newX = (float) (downCameraX + dx - dx * zoomRatio);
      float newY = (float) (downCameraY + dy - dy * zoomRatio);
      Camera cam = getCamera();
      cam.zoomTo(zoomTween.getPosition());
      cam.nudgeTo(newX, newY);
      cam.fforward();
    }
  }

  @Override
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.