@adatechnology/game-vegetation-three 0.3.3 → 0.3.4

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.
@@ -41,7 +41,7 @@ var GameVegetationThree = (() => {
41
41
  scatterLot: () => scatterLot
42
42
  });
43
43
 
44
- // ../game-shapes/dist/chunk-M5N2SHNL.js
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
- function Node(i, x, y) {
921
- this.i = i;
922
- this.x = x;
923
- this.y = y;
924
- this.prev = null;
925
- this.next = null;
926
- this.z = 0;
927
- this.prevZ = null;
928
- this.nextZ = null;
929
- this.steiner = false;
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) {