code: function processCollisions(self, box, velocity, resting) {
      vec3.set(resting, 0, 0, 0)
      return sweep(self.testSolid, box, velocity, function (dist, axis, dir, vec) {
          resting[axis] = dir
          vec[axis] = 0
      })
  }
docs: /*
  COLLISION HANDLER
   sweep aabb along velocity vector and set resting vector