text: import pos          from './lib/pos.js';
  import processInput from './process-input.js';
  import v_add        from './lib/v-add.js';
  
  
  export default function updatePhysics (client, core) {
      // Fetch the new direction from the input buffer,
      // and apply it to the state so we can smooth it in the visual state
      const old_pos = pos(core.players.self.cur_state.pos );
  
      const nd = processInput(core.playerspeed, core.players.self);
      core.players.self.cur_state.pos = v_add(old_pos, nd);
  }
  