Closed lilleyse closed 6 months ago
Thanks @lilleyse, looks good! There's of course the possibility of large bounding sphere, such as covering a quarter of the globe, being incorrectly flagged as covering the whole globe just because it happens to contain the center. But generally it's better to return a rectangle that is too large than one that is too small, so this is a definite improvement.
Fixes https://github.com/CesiumGS/cesium-native/issues/803 by returning the maximum rectangle if the box or sphere contains
(0, 0, 0)