@adatechnology/game-destruction-three 0.15.1 → 0.15.2
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 +1 -0
- package/dist/index.global.js.map +1 -1
- package/package.json +5 -5
package/dist/index.global.js
CHANGED
|
@@ -115,6 +115,7 @@ var GameDestructionThree = (() => {
|
|
|
115
115
|
const length = Math.hypot(direction[0], direction[1], direction[2]);
|
|
116
116
|
return { speed, direction: [direction[0] / length, direction[1] / length, direction[2] / length], distance, falloff };
|
|
117
117
|
}
|
|
118
|
+
var DEFAULT_BLAST_IMPULSE = { bodyArea: 0.7, lift: 0.15, minSpeed: 0.3, tntPerJoule: 0.24 / 2e5 };
|
|
118
119
|
var DEFAULT_COST_ALLOCATION_BYTES = 1024 * 1024;
|
|
119
120
|
var DEFERRED_QUEUE_ID = {
|
|
120
121
|
DESTRUCTION_EVENTS: "destruction.events",
|