import { set } from './v2' ; import { DeltaTimeMS , Integratable } from './common-types' ; export const accelerate = ( cmp , dt ) => { cmp . cpos . x += cmp . acel . x * dt * dt * 0.001 ; cmp . cpos . y += cmp . acel . y * dt * dt * 0.001 ; set ( cmp . acel , 0 , 0 ) ; } ;