示例#1
1
    private void updateVelocity(float dt) {
      Vector prev = vel.copy();

      vel.add(acc.scale(dt, dt));
    }