@pirireis/webglobeplugins 1.1.2 → 1.1.3
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.
|
@@ -285,7 +285,7 @@ export function partialTessellation(triangleMeta, limits, innerCuts, calculateRe
|
|
|
285
285
|
* Returns the index of the point (new or existing).
|
|
286
286
|
*/
|
|
287
287
|
const addPoint = (longLat, vec3, edgeIndex) => {
|
|
288
|
-
const key = `${Math.round(longLat[0] *
|
|
288
|
+
const key = `${Math.round(longLat[0] * 1e8)}|${Math.round(longLat[1] * 1e8)}`;
|
|
289
289
|
let index = pointMap.get(key);
|
|
290
290
|
if (index !== undefined) {
|
|
291
291
|
if (edgeIndex !== undefined) {
|