java.lang.Object
org.variantsync.diffdetective.show.engine.Camera

public class Camera extends Object
  • Field Details

  • Constructor Details

    • Camera

      public Camera()
  • Method Details

    • zoomTowards

      public void zoomTowards(int steps, Vec2 pos)
      The camera zooms the given steps. If steps > 0 the camera will zoom in, else out. x and y are the point, the camera should zoom at.
    • setZoom

      public void setZoom(double zoom)
    • setLocation

      public void setLocation(Vec2 location)
    • getZoom

      public double getZoom()
    • getLocation

      public Vec2 getLocation()