@adatechnology/game-animals-three 0.4.6 → 0.4.8

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.
@@ -105,7 +105,7 @@ var GameAnimalsThree = (() => {
105
105
  var BODY_FOLEY_IDS = [...FOOTSTEP_SOUND_IDS, ...LAND_SOUND_IDS, ...BODY_SOUND_IDS];
106
106
  var SWING_LEAD_SECONDS = { punch: 0.07, kick: 0.09, shove: 0, blade: 0.05, blunt: 0.1, chop: 0.11 };
107
107
 
108
- // ../game-audio/dist/chunk-C2K7XN2K.js
108
+ // ../game-audio/dist/chunk-UUWKSG4J.js
109
109
  var DISTANCE_CURVES = {
110
110
  /** The game's `sfx`: `vol / (1 + d² × 0.004)`, cutoff `/ (1 + d × 0.01)`, silent below 0.01 (jogo L62091–62092, L62101). */
111
111
  game_sfx: { model: "inverse_square", k: 4e-3, cutoffK: 0.01, minGain: 0.01 },
@@ -1811,7 +1811,7 @@ var GameAnimalsThree = (() => {
1811
1811
  }
1812
1812
  };
1813
1813
 
1814
- // ../game-shapes/dist/chunk-M5N2SHNL.js
1814
+ // ../game-shapes/dist/chunk-FZQTELDQ.js
1815
1815
  function canonicalJson(value) {
1816
1816
  if (value === null) return "null";
1817
1817
  if (typeof value === "number") return Object.is(value, -0) ? "-0" : Number.isFinite(value) ? String(value) : JSON.stringify(String(value));
@@ -2687,17 +2687,19 @@ var GameAnimalsThree = (() => {
2687
2687
  if (p.prevZ) p.prevZ.nextZ = p.nextZ;
2688
2688
  if (p.nextZ) p.nextZ.prevZ = p.prevZ;
2689
2689
  }
2690
- function Node(i, x, y) {
2691
- this.i = i;
2692
- this.x = x;
2693
- this.y = y;
2694
- this.prev = null;
2695
- this.next = null;
2696
- this.z = 0;
2697
- this.prevZ = null;
2698
- this.nextZ = null;
2699
- this.steiner = false;
2700
- }
2690
+ var Node = class {
2691
+ constructor(i, x, y) {
2692
+ this.i = i;
2693
+ this.x = x;
2694
+ this.y = y;
2695
+ this.prev = null;
2696
+ this.next = null;
2697
+ this.z = 0;
2698
+ this.prevZ = null;
2699
+ this.nextZ = null;
2700
+ this.steiner = false;
2701
+ }
2702
+ };
2701
2703
  function signedArea(data, start, end, dim) {
2702
2704
  let sum = 0;
2703
2705
  for (let i = start, j = end - dim; i < end; i += dim) {