public static vec3 GetCenter(this IBoundingBox boundingBox) { return boundingBox.MaxPosition / 2 + boundingBox.MinPosition / 2; }