@adatechnology/game-vegetation-three 0.3.3 → 0.3.5
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.
- package/dist/index.global.js +14 -12
- package/dist/index.global.js.map +1 -1
- package/package.json +4 -4
package/dist/index.global.js
CHANGED
|
@@ -41,7 +41,7 @@ var GameVegetationThree = (() => {
|
|
|
41
41
|
scatterLot: () => scatterLot
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
// ../game-shapes/dist/chunk-
|
|
44
|
+
// ../game-shapes/dist/chunk-FZQTELDQ.js
|
|
45
45
|
function canonicalJson(value) {
|
|
46
46
|
if (value === null) return "null";
|
|
47
47
|
if (typeof value === "number") return Object.is(value, -0) ? "-0" : Number.isFinite(value) ? String(value) : JSON.stringify(String(value));
|
|
@@ -917,17 +917,19 @@ var GameVegetationThree = (() => {
|
|
|
917
917
|
if (p.prevZ) p.prevZ.nextZ = p.nextZ;
|
|
918
918
|
if (p.nextZ) p.nextZ.prevZ = p.prevZ;
|
|
919
919
|
}
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
920
|
+
var Node = class {
|
|
921
|
+
constructor(i, x, y) {
|
|
922
|
+
this.i = i;
|
|
923
|
+
this.x = x;
|
|
924
|
+
this.y = y;
|
|
925
|
+
this.prev = null;
|
|
926
|
+
this.next = null;
|
|
927
|
+
this.z = 0;
|
|
928
|
+
this.prevZ = null;
|
|
929
|
+
this.nextZ = null;
|
|
930
|
+
this.steiner = false;
|
|
931
|
+
}
|
|
932
|
+
};
|
|
931
933
|
function signedArea(data, start, end, dim) {
|
|
932
934
|
let sum = 0;
|
|
933
935
|
for (let i = start, j = end - dim; i < end; i += dim) {
|