Package physics

Examples of physics.Vector2D.scale()


    a.set(0,0);
  }
 
  public void apply(Vector2D force){
    Vector2D a_=new Vector2D();
    a_.scale(1.0/mass,force);
    a.add(a_);
  }
 
}
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.