cesium-native icon indicating copy to clipboard operation
cesium-native copied to clipboard

OrientedBoundingBox::computeDistanceSquaredToPosition() can potentially use degenerate axes

Open baothientran opened this issue 3 years ago • 0 comments

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

baothientran avatar Jul 01 '21 22:07 baothientran