Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion packages/engine/Source/DataSources/EntityCluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down