diff --git a/CHANGES.md b/CHANGES.md index 2dc4839e0c31..e89e17a6d999 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,6 +9,7 @@ - Fixes jitter artifacts on Intel Arc GPUs [#12879](https://github.com/CesiumGS/cesium/issues/12879) - Fixed label sizing for some fonts and characters [#9767](https://github.com/CesiumGS/cesium/issues/9767) - Fixed a type error when accessing the ellipsoid of a viewer [#13123](https://github.com/CesiumGS/cesium/pull/13123) +- Fixed a bug where entities have not been clustered correctly [#13064](https://github.com/CesiumGS/cesium/pull/13064) ## 1.137 - 2026-01-05 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 7de84032cb04..6f8a345c6297 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -437,3 +437,4 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to Cesiu - [Marco Zhan](https://github.com/marcoYxz) - [Mikhail Porotkin](https://github.com/porotkin) - [Adam Beili](https://github.com/Beilinson) +- [段寒松](https://github.com/Duan971231) diff --git a/packages/engine/Source/DataSources/EntityCluster.js b/packages/engine/Source/DataSources/EntityCluster.js index ff572aaa975e..7c885d8a937d 100644 --- a/packages/engine/Source/DataSources/EntityCluster.js +++ b/packages/engine/Source/DataSources/EntityCluster.js @@ -330,7 +330,7 @@ function createDeclutterCallback(entityCluster) { let collectionIndex; if (points.length > 0) { - const index = new KDBush(points.length, 64, Uint32Array); + const index = new KDBush(points.length, 64, Float64Array); for (let p = 0; p < points.length; ++p) { index.add(points[p].coord.x, points[p].coord.y); }