CesiumGS / cesium-native

Apache License 2.0
421 stars 212 forks source link

Add check for ellipsoid radii = 0 in `IntersectionTests` #902

Closed j9liu closed 3 months ago

j9liu commented 4 months ago

After merging #901, I realized we needed to account for the possibility that radii = 0, leading to a division by 0 error. Completely forgot to think of it, so I've opened this PR with a fix. And some doc tweaks as well