@pirireis/webglobeplugins 1.1.16 → 1.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -297,7 +297,8 @@ export function partialTessellation(triangleMeta, limits, innerCuts, calculateRe
|
|
|
297
297
|
const x = Math.fround(xy[0]);
|
|
298
298
|
const y = Math.fround(xy[1]);
|
|
299
299
|
// Use float32 bit patterns for an exact, stable key.
|
|
300
|
-
const key = `${
|
|
300
|
+
const key = `${xy[0].toFixed(8)},${xy[1].toFixed(8)}`;
|
|
301
|
+
// const key = `${float32Bits(x),${float32Bits(y)}`;
|
|
301
302
|
let index = pointMap.get(key);
|
|
302
303
|
if (index !== undefined) {
|
|
303
304
|
if (edgeIndex !== undefined) {
|