cesium-native
cesium-native copied to clipboard
OrientedBoundingBox::computeDistanceSquaredToPosition() can potentially use degenerate axes
Report here on CesiumJS https://github.com/CesiumGS/cesium/pull/9657
Cesium-native uses the same formula as CesiumJS's computeDistanceSquaredToPosition()
, but this formula assumes half axes are non-zero, which is not always the case