@adatechnology/game-characters-three 0.9.5 → 0.9.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 +5 -5
package/dist/index.global.js
CHANGED
|
@@ -197,7 +197,7 @@ var GameCharactersThree = (() => {
|
|
|
197
197
|
var HIP_PIVOT = "vec3(0.,0.95,0.)";
|
|
198
198
|
var createBodyChunk = ({ hipHeight = 0.95 } = {}) => hipHeight === 0.95 ? BODY_CHUNK : BODY_CHUNK.replaceAll(HIP_PIVOT, `vec3(0.,${hipHeight},0.)`);
|
|
199
199
|
|
|
200
|
-
// ../game-shapes/dist/chunk-
|
|
200
|
+
// ../game-shapes/dist/chunk-FZQTELDQ.js
|
|
201
201
|
function canonicalJson(value) {
|
|
202
202
|
if (value === null) return "null";
|
|
203
203
|
if (typeof value === "number") return Object.is(value, -0) ? "-0" : Number.isFinite(value) ? String(value) : JSON.stringify(String(value));
|
|
@@ -1073,17 +1073,19 @@ var GameCharactersThree = (() => {
|
|
|
1073
1073
|
if (p2.prevZ) p2.prevZ.nextZ = p2.nextZ;
|
|
1074
1074
|
if (p2.nextZ) p2.nextZ.prevZ = p2.prevZ;
|
|
1075
1075
|
}
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1076
|
+
var Node = class {
|
|
1077
|
+
constructor(i, x, y) {
|
|
1078
|
+
this.i = i;
|
|
1079
|
+
this.x = x;
|
|
1080
|
+
this.y = y;
|
|
1081
|
+
this.prev = null;
|
|
1082
|
+
this.next = null;
|
|
1083
|
+
this.z = 0;
|
|
1084
|
+
this.prevZ = null;
|
|
1085
|
+
this.nextZ = null;
|
|
1086
|
+
this.steiner = false;
|
|
1087
|
+
}
|
|
1088
|
+
};
|
|
1087
1089
|
function signedArea(data, start, end, dim) {
|
|
1088
1090
|
let sum = 0;
|
|
1089
1091
|
for (let i = start, j = end - dim; i < end; i += dim) {
|
|
@@ -8575,7 +8577,7 @@ ${accessoryHead}`).replace("{ vec3 _nn = objectNormal; bodyAnim(position, _nn);"
|
|
|
8575
8577
|
};
|
|
8576
8578
|
};
|
|
8577
8579
|
|
|
8578
|
-
// ../game-audio/dist/chunk-
|
|
8580
|
+
// ../game-audio/dist/chunk-UUWKSG4J.js
|
|
8579
8581
|
var DISTANCE_CURVES = {
|
|
8580
8582
|
/** The game's `sfx`: `vol / (1 + d² × 0.004)`, cutoff `/ (1 + d × 0.01)`, silent below 0.01 (jogo L62091–62092, L62101). */
|
|
8581
8583
|
game_sfx: { model: "inverse_square", k: 4e-3, cutoffK: 0.01, minGain: 0.01 },
|