* afterwards position and velocity.
* This method uses the two-step Leapfrog method instead of the instable Euler method.
*/
public static Vector translateObject(Vector pos, Vector v, double m,
Vector force, double timeDelta, Vector oldAcc) {
Vector acc = force.clone().scale(1 / m);
v.add(oldAcc.add(acc).scale(0.5f * timeDelta));
pos.add(acc.clone().scale(0.5f * timeDelta).add(v).scale(timeDelta));
return oldAcc = acc;
}