@ Pure @ Inline ( value = "PhysicsUtil.getPhysicsEngine().speed(($1), ($2))" , imported = { PhysicsUtil . class } ) public static double speed ( double movement , double dt ) { return engine . speed ( movement , dt ) ; }
Replies the new velocity according to a previous velocity and a mouvement during a given time .