code: function verticesProjection(vertices, axis) {
        const [p1, p2, p3, p4] = vertices.map(v => axis.dot(new Vector(v)));
  
        return [Math.min(p1, p2, p3, p4), Math.max(p1, p2, p3, p4)];
      }
docs: The projection of the axis of a vertex in a certain direction