@adatechnology/game-floorplan-three 0.9.1 → 0.9.3
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 +2 -1
- package/dist/index.global.js.map +1 -1
- package/package.json +9 -9
package/dist/index.global.js
CHANGED
|
@@ -1539,6 +1539,7 @@ var GameFloorplanThree = (() => {
|
|
|
1539
1539
|
}
|
|
1540
1540
|
|
|
1541
1541
|
// ../game-contracts/dist/index.js
|
|
1542
|
+
var DEFAULT_BLAST_IMPULSE = { bodyArea: 0.7, lift: 0.15, minSpeed: 0.3, tntPerJoule: 0.24 / 2e5 };
|
|
1542
1543
|
var DEFAULT_COST_ALLOCATION_BYTES = 1024 * 1024;
|
|
1543
1544
|
var DEFAULT_IGNITION_RULES = {
|
|
1544
1545
|
fillCurve: [
|
|
@@ -15393,7 +15394,7 @@ uniform mat4 uNodes[${nodes.length}]; attribute float aNodeIndex; attribute vec3
|
|
|
15393
15394
|
return;
|
|
15394
15395
|
}
|
|
15395
15396
|
if (ex) {
|
|
15396
|
-
emit({ ...base(o, src), type: "explode", part: p.spec.id, point: c, energy: ex.energy, radius: ex.radius, ...ex.lethalRadius !== void 0 ? { lethalRadius: ex.lethalRadius } : {}, ...ex.effect !== void 0 ? { effect: ex.effect } : {} });
|
|
15397
|
+
emit({ ...base(o, src), type: "explode", part: p.spec.id, point: c, energy: ex.energy, radius: ex.radius, ...ex.lethalRadius !== void 0 ? { lethalRadius: ex.lethalRadius } : {}, ...ex.tnt !== void 0 ? { tnt: ex.tnt } : {}, ...ex.effect !== void 0 ? { effect: ex.effect } : {} });
|
|
15397
15398
|
blasts.push({ point: c, energy: ex.energy, radius: ex.radius, ...ex.lethalRadius !== void 0 ? { lethalRadius: ex.lethalRadius } : {}, source: src });
|
|
15398
15399
|
}
|
|
15399
15400
|
partLost(o, p, src);
|