@adatechnology/game-crowd-three 0.5.5 → 0.5.6
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 +15 -13
- package/dist/index.global.js.map +1 -1
- package/package.json +8 -8
package/dist/index.global.js
CHANGED
|
@@ -1520,7 +1520,7 @@ var GameCrowdThree = (() => {
|
|
|
1520
1520
|
var POSE_CLIPS = pose_clips_default.clips;
|
|
1521
1521
|
var POSE_CLIP_LOCALES = pose_clips_default.locales;
|
|
1522
1522
|
|
|
1523
|
-
// ../game-audio/dist/chunk-
|
|
1523
|
+
// ../game-audio/dist/chunk-UUWKSG4J.js
|
|
1524
1524
|
var DISTANCE_CURVES = {
|
|
1525
1525
|
/** The game's `sfx`: `vol / (1 + d² × 0.004)`, cutoff `/ (1 + d × 0.01)`, silent below 0.01 (jogo L62091–62092, L62101). */
|
|
1526
1526
|
game_sfx: { model: "inverse_square", k: 4e-3, cutoffK: 0.01, minGain: 0.01 },
|
|
@@ -2978,7 +2978,7 @@ var GameCrowdThree = (() => {
|
|
|
2978
2978
|
};
|
|
2979
2979
|
var BODY_FOLEY_SET_IDS = [...FOOTSTEP_SOUND_IDS, ...LAND_SOUND_IDS, ...BODY_SOUND_IDS];
|
|
2980
2980
|
|
|
2981
|
-
// ../game-shapes/dist/chunk-
|
|
2981
|
+
// ../game-shapes/dist/chunk-FZQTELDQ.js
|
|
2982
2982
|
function canonicalJson(value) {
|
|
2983
2983
|
if (value === null) return "null";
|
|
2984
2984
|
if (typeof value === "number") return Object.is(value, -0) ? "-0" : Number.isFinite(value) ? String(value) : JSON.stringify(String(value));
|
|
@@ -3854,17 +3854,19 @@ var GameCrowdThree = (() => {
|
|
|
3854
3854
|
if (p2.prevZ) p2.prevZ.nextZ = p2.nextZ;
|
|
3855
3855
|
if (p2.nextZ) p2.nextZ.prevZ = p2.prevZ;
|
|
3856
3856
|
}
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3857
|
+
var Node = class {
|
|
3858
|
+
constructor(i, x, y) {
|
|
3859
|
+
this.i = i;
|
|
3860
|
+
this.x = x;
|
|
3861
|
+
this.y = y;
|
|
3862
|
+
this.prev = null;
|
|
3863
|
+
this.next = null;
|
|
3864
|
+
this.z = 0;
|
|
3865
|
+
this.prevZ = null;
|
|
3866
|
+
this.nextZ = null;
|
|
3867
|
+
this.steiner = false;
|
|
3868
|
+
}
|
|
3869
|
+
};
|
|
3868
3870
|
function signedArea(data, start, end, dim) {
|
|
3869
3871
|
let sum = 0;
|
|
3870
3872
|
for (let i = start, j = end - dim; i < end; i += dim) {
|