Package com.math

Examples of com.math.Point2D


    slider.setValue(0);
    World.cam.setLinVel(v);
  }

  public void propertyChange(PropertyChangeEvent e) {
    Point2D p = (Point2D)e.getNewValue();
    World.cam.setVel(p.x/10f, p.y/10f);
  }
View Full Code Here


  public Joystick() {
    this(50);
  }

  public void build(){
    j = new Point2D();
    c = new Point2D();
    p = new Point2D();
    lp = new Point2D();
   
    j.x=r;
    j.y=r;
   
    c.x=r;
View Full Code Here

TOP

Related Classes of com.math.Point2D

Copyright © 2018 www.massapicom. 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.