@woosh/meep-engine 2.157.0 → 2.159.0
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/package.json +1 -1
- package/src/core/binary/BitSet.d.ts.map +1 -1
- package/src/core/binary/BitSet.js +6 -1
- package/src/core/binary/float_to_uint8.d.ts +4 -1
- package/src/core/binary/float_to_uint8.d.ts.map +1 -1
- package/src/core/binary/float_to_uint8.js +7 -2
- package/src/core/bvh2/bvh3/query/compute_tight_near_far_clipping_planes.d.ts +11 -1
- package/src/core/bvh2/bvh3/query/compute_tight_near_far_clipping_planes.d.ts.map +1 -1
- package/src/core/bvh2/bvh3/query/compute_tight_near_far_clipping_planes.js +37 -14
- package/src/core/geom/3d/shape/PosedShape3D.d.ts +17 -0
- package/src/core/geom/3d/shape/PosedShape3D.d.ts.map +1 -1
- package/src/core/geom/3d/shape/PosedShape3D.js +50 -0
- package/src/core/math/gaussian.d.ts +7 -6
- package/src/core/math/gaussian.d.ts.map +1 -1
- package/src/core/math/gaussian.js +9 -8
- package/src/engine/graphics/ecs/trail2d/Trail2D.d.ts.map +1 -1
- package/src/engine/graphics/ecs/trail2d/Trail2D.js +21 -0
- package/src/engine/graphics/ecs/trail2d/Trail2DFlags.d.ts +1 -0
- package/src/engine/graphics/ecs/trail2d/Trail2DFlags.js +9 -1
- package/src/engine/physics/fluid/FluidField.d.ts +53 -9
- package/src/engine/physics/fluid/FluidField.d.ts.map +1 -1
- package/src/engine/physics/fluid/FluidField.js +684 -600
- package/src/engine/physics/fluid/FluidSimulator.d.ts +53 -38
- package/src/engine/physics/fluid/FluidSimulator.d.ts.map +1 -1
- package/src/engine/physics/fluid/FluidSimulator.js +252 -178
- package/src/engine/physics/fluid/REVIEW_02_PLAN.md +155 -26
- package/src/engine/physics/fluid/ecs/FluidObstacle.d.ts +72 -0
- package/src/engine/physics/fluid/ecs/FluidObstacle.d.ts.map +1 -0
- package/src/engine/physics/fluid/ecs/FluidObstacle.js +97 -0
- package/src/engine/physics/fluid/ecs/FluidObstacleSystem.d.ts +117 -0
- package/src/engine/physics/fluid/ecs/FluidObstacleSystem.d.ts.map +1 -0
- package/src/engine/physics/fluid/ecs/FluidObstacleSystem.js +348 -0
- package/src/engine/physics/fluid/ecs/FluidSystem.d.ts +3 -3
- package/src/engine/physics/fluid/effector/GlobalFluidEffector.d.ts +62 -12
- package/src/engine/physics/fluid/effector/GlobalFluidEffector.d.ts.map +1 -1
- package/src/engine/physics/fluid/effector/GlobalFluidEffector.js +135 -38
- package/src/engine/physics/fluid/effector/ImpulseFluidEffector.d.ts.map +1 -1
- package/src/engine/physics/fluid/effector/ImpulseFluidEffector.js +85 -38
- package/src/engine/physics/fluid/effector/WakeFluidEffector.d.ts.map +1 -1
- package/src/engine/physics/fluid/effector/WakeFluidEffector.js +104 -50
- package/src/engine/physics/fluid/prototype.js +25 -1
- package/src/engine/physics/fluid/solver/v3_grid_sample_scalar_masked.d.ts +30 -0
- package/src/engine/physics/fluid/solver/v3_grid_sample_scalar_masked.d.ts.map +1 -0
- package/src/engine/physics/fluid/solver/v3_grid_sample_scalar_masked.js +92 -0
- package/src/engine/physics/fluid/solver/v3_mac_advect_maccormack_velocity.d.ts +42 -0
- package/src/engine/physics/fluid/solver/v3_mac_advect_maccormack_velocity.d.ts.map +1 -0
- package/src/engine/physics/fluid/solver/v3_mac_advect_maccormack_velocity.js +319 -0
- package/src/engine/physics/fluid/solver/v3_mac_advect_scalar.d.ts +53 -0
- package/src/engine/physics/fluid/solver/v3_mac_advect_scalar.d.ts.map +1 -0
- package/src/engine/physics/fluid/solver/v3_mac_advect_scalar.js +236 -0
- package/src/engine/physics/fluid/solver/v3_mac_advect_sl_velocity.d.ts +46 -0
- package/src/engine/physics/fluid/solver/v3_mac_advect_sl_velocity.d.ts.map +1 -0
- package/src/engine/physics/fluid/solver/v3_mac_advect_sl_velocity.js +217 -0
- package/src/engine/physics/fluid/solver/v3_mac_apply_vorticity_confinement.d.ts +40 -0
- package/src/engine/physics/fluid/solver/v3_mac_apply_vorticity_confinement.d.ts.map +1 -0
- package/src/engine/physics/fluid/solver/v3_mac_apply_vorticity_confinement.js +165 -0
- package/src/engine/physics/fluid/solver/v3_mac_clip_trace.d.ts +44 -0
- package/src/engine/physics/fluid/solver/v3_mac_clip_trace.d.ts.map +1 -0
- package/src/engine/physics/fluid/solver/v3_mac_clip_trace.js +95 -0
- package/src/engine/physics/fluid/solver/v3_mac_compute_divergence.d.ts +38 -0
- package/src/engine/physics/fluid/solver/v3_mac_compute_divergence.d.ts.map +1 -0
- package/src/engine/physics/fluid/solver/v3_mac_compute_divergence.js +77 -0
- package/src/engine/physics/fluid/solver/v3_mac_compute_face_solid.d.ts +52 -0
- package/src/engine/physics/fluid/solver/v3_mac_compute_face_solid.d.ts.map +1 -0
- package/src/engine/physics/fluid/solver/v3_mac_compute_face_solid.js +131 -0
- package/src/engine/physics/fluid/solver/v3_mac_subtract_pressure_gradient.d.ts +38 -0
- package/src/engine/physics/fluid/solver/v3_mac_subtract_pressure_gradient.d.ts.map +1 -0
- package/src/engine/physics/fluid/solver/v3_mac_subtract_pressure_gradient.js +104 -0
- package/src/engine/physics/fluid/effector/AmbientWindFluidEffector.d.ts +0 -41
- package/src/engine/physics/fluid/effector/AmbientWindFluidEffector.d.ts.map +0 -1
- package/src/engine/physics/fluid/effector/AmbientWindFluidEffector.js +0 -124
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"description": "Pure JavaScript game engine. Fully featured and production ready.",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"author": "Alexander Goldring",
|
|
9
|
-
"version": "2.
|
|
9
|
+
"version": "2.159.0",
|
|
10
10
|
"main": "build/meep.module.js",
|
|
11
11
|
"module": "build/meep.module.js",
|
|
12
12
|
"exports": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BitSet.d.ts","sourceRoot":"","sources":["../../../../src/core/binary/BitSet.js"],"names":[],"mappings":"AAiCA;;;;;;;;;;;;;;GAcG;AACH;
|
|
1
|
+
{"version":3,"file":"BitSet.d.ts","sourceRoot":"","sources":["../../../../src/core/binary/BitSet.js"],"names":[],"mappings":"AAiCA;;;;;;;;;;;;;;GAcG;AACH;IA2lBI;;;;OAIG;IACH,oBAHW,MAAM,GACJ,MAAM,CAQlB;IApmBD;;;OAGG;IACH,+BAFW,MAAM,EAgChB;IA3BG;;;;OAIG;IACH,iBAAiB;IAEjB;;;;;OAKG;IACH,mBAA4C;IAE5C;;;;OAIG;IACH,sBAA0D;IAE1D;;;OAGG;IACH,gBAFU,MAAM,CAE2B;IAG/C;;;;OAIG;IACH,iBAFa,IAAI,CAIhB;IAED;;;OAGG;IACH,mBAFW,MAAM,QAOhB;IACD;;;;;;OAMG;IACH,uBAJW,MAAM,GAEJ,IAAI,CAUhB;IAED;;;;OAIG;IACH,QAFa,MAAM,CAIlB;IAED;;;;OAIG;IACH,YAFa,MAAM,CAIlB;IAED;;;;OAIG;IACH,iBAsBC;IAED;;;OAGG;IACH,uBAMC;IAED;;;;;OAKG;IACH,oBAyBC;IAED;;;;OAIG;IACH,2BAHW,MAAM,GACJ,MAAM,CAuClB;IAED;;;;OAIG;IACH,uBAHW,MAAM,GACJ,MAAM,CAuDlB;IAED;;;;OAIG;IACH,yBAHW,MAAM,GACJ,MAAM,CAuDlB;IAED;;;;;OAKG;IACH,eAJW,MAAM,SACN,OAAO,GACL,IAAI,CAmChB;IAED;;;OAGG;IACH,iBAFW,MAAM,QAIhB;IAED;;;;OAIG;IACH,sBAHW,MAAM,aACN,MAAM,QAWhB;IAED;;;;OAIG;IACH,wBAHW,MAAM,aACN,MAAM,QAShB;IAED;;;;OAIG;IACH,qBAFa,OAAO,CAkBnB;IAED;;;;OAIG;IACH,iBAHW,MAAM,GACJ,OAAO,CAUnB;IAED;;;;OAIG;IACH,mBAHW,MAAM,GACJ,OAAO,CAUnB;IAED;;;;;OAKG;IACH,sBAJW,MAAM,eACN,MAAM,aACN,MAAM,QAShB;IAED;;;;;OAKG;IACH,qBAJW,MAAM,eACN,MAAM,aACN,MAAM,QAShB;IAED;;;;;OAKG;IACH,gBAJW,MAAM,eACN,MAAM,aACN,MAAM,QAQhB;IAED;;OAEG;IACH,cAgBC;IAED;;;;OAIG;IACH,eAFa,MAAM,CA+BlB;IAED;;;OAGG;IACH,YAFW,MAAM,QAoChB;CAcJ"}
|
|
@@ -368,7 +368,12 @@ export class BitSet {
|
|
|
368
368
|
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
|
|
371
|
+
// Bits at or beyond __length are implicitly clear. When from_index
|
|
372
|
+
// is word-aligned and lies at or beyond __length, both the masked
|
|
373
|
+
// first-word branch and the scan loop are skipped — returning
|
|
374
|
+
// set_length alone would violate the "first clear bit >= from_index"
|
|
375
|
+
// contract by returning a value smaller than from_index.
|
|
376
|
+
return Math.max(set_length, from_index);
|
|
372
377
|
}
|
|
373
378
|
|
|
374
379
|
/**
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Quantize a [0, 1] float to a byte. Out-of-range input saturates: every caller is a
|
|
3
|
+
* color/channel packer, where wrapping would turn 1.004 into 0 (near-white to black) and
|
|
4
|
+
* negatives into arbitrary mid-range values.
|
|
2
5
|
*
|
|
3
6
|
* @param {number} v
|
|
4
|
-
* @returns {number}
|
|
7
|
+
* @returns {number} integer in [0, 255]
|
|
5
8
|
*/
|
|
6
9
|
export function float_to_uint8(v: number): number;
|
|
7
10
|
//# sourceMappingURL=float_to_uint8.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"float_to_uint8.d.ts","sourceRoot":"","sources":["../../../../src/core/binary/float_to_uint8.js"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"float_to_uint8.d.ts","sourceRoot":"","sources":["../../../../src/core/binary/float_to_uint8.js"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,kCAHW,MAAM,GACJ,MAAM,CAMlB"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Quantize a [0, 1] float to a byte. Out-of-range input saturates: every caller is a
|
|
3
|
+
* color/channel packer, where wrapping would turn 1.004 into 0 (near-white to black) and
|
|
4
|
+
* negatives into arbitrary mid-range values.
|
|
2
5
|
*
|
|
3
6
|
* @param {number} v
|
|
4
|
-
* @returns {number}
|
|
7
|
+
* @returns {number} integer in [0, 255]
|
|
5
8
|
*/
|
|
6
9
|
export function float_to_uint8(v) {
|
|
7
|
-
|
|
10
|
+
const whole = Math.round(v * 255);
|
|
11
|
+
// clamp to 0-255; masking with & 0xFF would wrap, not clamp
|
|
12
|
+
return whole < 0 ? 0 : (whole > 255 ? 255 : whole);
|
|
8
13
|
}
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Tightens the relaxed planes of a frustum against the contents of a BVH: each relaxed
|
|
3
|
+
* plane is moved to the tightest position that still contains every leaf AABB surviving
|
|
4
|
+
* the fixed planes.
|
|
5
|
+
*
|
|
6
|
+
* Both input and output planes use the engine's inward `dot(normal, p) + offset >= 0`
|
|
7
|
+
* convention (see {@link v3_distance_above_plane}); fixed planes are copied through
|
|
8
|
+
* unchanged.
|
|
9
|
+
*
|
|
2
10
|
* @param {number[]} result
|
|
3
11
|
* @param {number} result_offset
|
|
4
12
|
* @param {number} plane_mask if bit is set to 0, that plane is not allowed to move
|
|
5
13
|
* @param {BVH} bvh
|
|
6
14
|
* @param {number[]|ArrayLike<number>|Float32Array} frustum
|
|
7
|
-
* @returns {boolean} true iff
|
|
15
|
+
* @returns {boolean} true iff every relaxed plane was tightened against geometry. False
|
|
16
|
+
* when the BVH is empty or when no leaf intersects the fixed planes — a relaxed plane
|
|
17
|
+
* would otherwise carry its infinite sentinel. If false is returned - result is not written
|
|
8
18
|
*/
|
|
9
19
|
export function compute_tight_near_far_clipping_planes(result: number[], result_offset: number, plane_mask: number, bvh: BVH, frustum: number[] | ArrayLike<number> | Float32Array): boolean;
|
|
10
20
|
//# sourceMappingURL=compute_tight_near_far_clipping_planes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute_tight_near_far_clipping_planes.d.ts","sourceRoot":"","sources":["../../../../../../src/core/bvh2/bvh3/query/compute_tight_near_far_clipping_planes.js"],"names":[],"mappings":"AAYA
|
|
1
|
+
{"version":3,"file":"compute_tight_near_far_clipping_planes.d.ts","sourceRoot":"","sources":["../../../../../../src/core/bvh2/bvh3/query/compute_tight_near_far_clipping_planes.js"],"names":[],"mappings":"AAYA;;;;;;;;;;;;;;;;;GAiBG;AACH,+DATW,MAAM,EAAE,iBACR,MAAM,cACN,MAAM,qBAEN,MAAM,EAAE,GAAC,UAAU,MAAM,CAAC,GAAC,YAAY,GACrC,OAAO,CA2NnB"}
|
|
@@ -11,12 +11,22 @@ const scratch_aabb = [];
|
|
|
11
11
|
const scratch_frustum = new Float32Array(24);
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
+
* Tightens the relaxed planes of a frustum against the contents of a BVH: each relaxed
|
|
15
|
+
* plane is moved to the tightest position that still contains every leaf AABB surviving
|
|
16
|
+
* the fixed planes.
|
|
17
|
+
*
|
|
18
|
+
* Both input and output planes use the engine's inward `dot(normal, p) + offset >= 0`
|
|
19
|
+
* convention (see {@link v3_distance_above_plane}); fixed planes are copied through
|
|
20
|
+
* unchanged.
|
|
21
|
+
*
|
|
14
22
|
* @param {number[]} result
|
|
15
23
|
* @param {number} result_offset
|
|
16
24
|
* @param {number} plane_mask if bit is set to 0, that plane is not allowed to move
|
|
17
25
|
* @param {BVH} bvh
|
|
18
26
|
* @param {number[]|ArrayLike<number>|Float32Array} frustum
|
|
19
|
-
* @returns {boolean} true iff
|
|
27
|
+
* @returns {boolean} true iff every relaxed plane was tightened against geometry. False
|
|
28
|
+
* when the BVH is empty or when no leaf intersects the fixed planes — a relaxed plane
|
|
29
|
+
* would otherwise carry its infinite sentinel. If false is returned - result is not written
|
|
20
30
|
*/
|
|
21
31
|
export function compute_tight_near_far_clipping_planes(
|
|
22
32
|
result,
|
|
@@ -28,13 +38,17 @@ export function compute_tight_near_far_clipping_planes(
|
|
|
28
38
|
assert.isNonNegativeInteger(result_offset, 'result_offset');
|
|
29
39
|
assert.isNonNegativeInteger(plane_mask, 'plane_mask');
|
|
30
40
|
|
|
41
|
+
const relaxed_mask = plane_mask & 0b111111;
|
|
42
|
+
|
|
31
43
|
// initialize result
|
|
32
44
|
array_copy(frustum, 0, scratch_frustum, 0, 24);
|
|
33
45
|
|
|
34
|
-
//
|
|
46
|
+
// Relaxed planes start infinitely tight ("no geometry seen yet") and are pushed out by
|
|
47
|
+
// leaves. In the dot+offset convention the tight containing offset is the running
|
|
48
|
+
// maximum of -dot(normal, nearest_corner), so the sentinel is -Infinity.
|
|
35
49
|
for (let i = 0; i < 6; i++) {
|
|
36
|
-
if (((
|
|
37
|
-
scratch_frustum[i * 4 + 3] = Infinity;
|
|
50
|
+
if (((relaxed_mask >> i) & 1) === 1) {
|
|
51
|
+
scratch_frustum[i * 4 + 3] = -Infinity;
|
|
38
52
|
}
|
|
39
53
|
}
|
|
40
54
|
|
|
@@ -52,7 +66,8 @@ export function compute_tight_near_far_clipping_planes(
|
|
|
52
66
|
|
|
53
67
|
stack[stack_top] = root;
|
|
54
68
|
|
|
55
|
-
|
|
69
|
+
// relaxed planes that have been tightened against at least one leaf
|
|
70
|
+
let updated_mask = 0;
|
|
56
71
|
|
|
57
72
|
// 0 is the nearest point along the normal and 1 is the furthest
|
|
58
73
|
let x0,
|
|
@@ -71,7 +86,6 @@ export function compute_tight_near_far_clipping_planes(
|
|
|
71
86
|
*/
|
|
72
87
|
const node = stack[stack.pointer];
|
|
73
88
|
|
|
74
|
-
// test node against the ray
|
|
75
89
|
bvh.node_get_aabb(node, scratch_aabb);
|
|
76
90
|
|
|
77
91
|
const _x0 = scratch_aabb[0];
|
|
@@ -122,15 +136,15 @@ export function compute_tight_near_far_clipping_planes(
|
|
|
122
136
|
z1 = _z0;
|
|
123
137
|
}
|
|
124
138
|
|
|
125
|
-
if (((
|
|
126
|
-
// plane
|
|
127
|
-
|
|
139
|
+
if (((relaxed_mask >> plane_index) & 1) === 1) {
|
|
140
|
+
// relaxed plane: this node can push it out iff the node's nearest corner
|
|
141
|
+
// lies outside the current plane
|
|
128
142
|
const distance_above_plane = v3_distance_above_plane(
|
|
129
143
|
x0, y0, z0,
|
|
130
|
-
plane_normal_x, plane_normal_y, plane_normal_z,
|
|
144
|
+
plane_normal_x, plane_normal_y, plane_normal_z, plane_offset
|
|
131
145
|
);
|
|
132
146
|
|
|
133
|
-
if (distance_above_plane <
|
|
147
|
+
if (distance_above_plane < 0) {
|
|
134
148
|
collision_mask |= (1 << plane_index);
|
|
135
149
|
}
|
|
136
150
|
|
|
@@ -203,19 +217,28 @@ export function compute_tight_near_far_clipping_planes(
|
|
|
203
217
|
z0 = _z1;
|
|
204
218
|
}
|
|
205
219
|
|
|
206
|
-
// move plane
|
|
207
|
-
|
|
220
|
+
// move the plane out to contain this leaf: offset = -dot(n, nearest
|
|
221
|
+
// corner) puts the corner exactly on the plane (dot + offset == 0).
|
|
222
|
+
// Only ever reached when the corner is outside the current plane
|
|
223
|
+
// (collision_mask gate), so the offset grows monotonically.
|
|
224
|
+
scratch_frustum[plane_address + 3] = -v3_distance_above_plane(
|
|
208
225
|
x0, y0, z0,
|
|
209
226
|
plane_normal_x, plane_normal_y, plane_normal_z, 0
|
|
210
227
|
);
|
|
211
228
|
|
|
229
|
+
updated_mask |= (1 << i);
|
|
230
|
+
|
|
212
231
|
}
|
|
213
232
|
}
|
|
214
233
|
|
|
215
234
|
}
|
|
216
235
|
}
|
|
217
236
|
|
|
218
|
-
|
|
237
|
+
if ((updated_mask & relaxed_mask) !== relaxed_mask) {
|
|
238
|
+
// some relaxed plane was never constrained by geometry (nothing intersects the
|
|
239
|
+
// fixed planes) — it still carries the -Infinity sentinel and must not leak out
|
|
240
|
+
return false;
|
|
241
|
+
}
|
|
219
242
|
|
|
220
243
|
array_copy(scratch_frustum, 0, result, result_offset, 24);
|
|
221
244
|
|
|
@@ -47,6 +47,23 @@ export class PosedShape3D extends AbstractShape3D {
|
|
|
47
47
|
w: number;
|
|
48
48
|
}): void;
|
|
49
49
|
compute_bounding_box(result: any): void;
|
|
50
|
+
/**
|
|
51
|
+
* Signed distance from a WORLD-space point to the posed shape's boundary.
|
|
52
|
+
* Rigid poses preserve distances, so the local shape's SDF applies
|
|
53
|
+
* unchanged after re-framing the query point.
|
|
54
|
+
*
|
|
55
|
+
* @param {number[]|Float32Array|Float64Array} point world-space, length 3
|
|
56
|
+
* @returns {number}
|
|
57
|
+
*/
|
|
58
|
+
signed_distance_at_point(point: number[] | Float32Array | Float64Array): number;
|
|
59
|
+
/**
|
|
60
|
+
* Whether a WORLD-space point lies inside the posed shape.
|
|
61
|
+
*
|
|
62
|
+
* @param {number[]|Float32Array|Float64Array} point world-space, length 3
|
|
63
|
+
* @returns {boolean}
|
|
64
|
+
*/
|
|
65
|
+
contains_point(point: number[] | Float32Array | Float64Array): boolean;
|
|
66
|
+
#private;
|
|
50
67
|
}
|
|
51
68
|
import { AbstractShape3D } from "./AbstractShape3D.js";
|
|
52
69
|
//# sourceMappingURL=PosedShape3D.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PosedShape3D.d.ts","sourceRoot":"","sources":["../../../../../../src/core/geom/3d/shape/PosedShape3D.js"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;GAmBG;AACH;IAKQ,mCAAmC;IACnC,OADW,eAAe,GAAC,IAAI,CACd;IAEjB,WAAW;IAAE,WAAW;IAAE,WAAW;IACrC,WAAW;IAAE,WAAW;IAAE,WAAW;IAAE,WAAW;IAGtD;;;;;;;OAOG;IACH,aAJW,eAAe,YACf,UAAQ;QAAC,CAAC,EAAC,MAAM,CAAC;QAAA,CAAC,EAAC,MAAM,CAAC;QAAA,CAAC,EAAC,MAAM,CAAA;KAAC,YACpC,aAAW;QAAC,CAAC,EAAC,MAAM,CAAC;QAAA,CAAC,EAAC,MAAM,CAAC;QAAA,CAAC,EAAC,MAAM,CAAC;QAAA,CAAC,EAAC,MAAM,CAAA;KAAC,QAM1D;IAgDD,wCASC;CACJ;
|
|
1
|
+
{"version":3,"file":"PosedShape3D.d.ts","sourceRoot":"","sources":["../../../../../../src/core/geom/3d/shape/PosedShape3D.js"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;GAmBG;AACH;IAKQ,mCAAmC;IACnC,OADW,eAAe,GAAC,IAAI,CACd;IAEjB,WAAW;IAAE,WAAW;IAAE,WAAW;IACrC,WAAW;IAAE,WAAW;IAAE,WAAW;IAAE,WAAW;IAGtD;;;;;;;OAOG;IACH,aAJW,eAAe,YACf,UAAQ;QAAC,CAAC,EAAC,MAAM,CAAC;QAAA,CAAC,EAAC,MAAM,CAAC;QAAA,CAAC,EAAC,MAAM,CAAA;KAAC,YACpC,aAAW;QAAC,CAAC,EAAC,MAAM,CAAC;QAAA,CAAC,EAAC,MAAM,CAAC;QAAA,CAAC,EAAC,MAAM,CAAC;QAAA,CAAC,EAAC,MAAM,CAAA;KAAC,QAM1D;IAgDD,wCASC;IA4BD;;;;;;;OAOG;IACH,gCAHW,MAAM,EAAE,GAAC,YAAY,GAAC,YAAY,GAChC,MAAM,CAKlB;IAED;;;;;OAKG;IACH,sBAHW,MAAM,EAAE,GAAC,YAAY,GAAC,YAAY,GAChC,OAAO,CAKnB;;CACJ;gCA7J+B,sBAAsB"}
|
|
@@ -106,4 +106,54 @@ export class PosedShape3D extends AbstractShape3D {
|
|
|
106
106
|
this.qx, this.qy, this.qz, this.qw
|
|
107
107
|
);
|
|
108
108
|
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Transform a world-space point into the body frame (inverse rigid pose:
|
|
112
|
+
* translate by −position, rotate by the conjugate quaternion) and write it
|
|
113
|
+
* into {@link scratch_local}. Shared by the point-query adapters below.
|
|
114
|
+
*
|
|
115
|
+
* @param {number[]|Float32Array|Float64Array} point world-space, length 3
|
|
116
|
+
*/
|
|
117
|
+
#world_point_to_local(point) {
|
|
118
|
+
const dx = point[0] - this.px;
|
|
119
|
+
const dy = point[1] - this.py;
|
|
120
|
+
const dz = point[2] - this.pz;
|
|
121
|
+
|
|
122
|
+
// v_local = q* · v · q — inline conjugate-quaternion rotation, the
|
|
123
|
+
// same literal expansion as in support().
|
|
124
|
+
const qx = this.qx, qy = this.qy, qz = this.qz, qw = this.qw;
|
|
125
|
+
|
|
126
|
+
const tx = qw * dx - qy * dz + qz * dy;
|
|
127
|
+
const ty = qw * dy - qz * dx + qx * dz;
|
|
128
|
+
const tz = qw * dz - qx * dy + qy * dx;
|
|
129
|
+
const tw = qx * dx + qy * dy + qz * dz;
|
|
130
|
+
|
|
131
|
+
scratch_local[0] = tx * qw + tw * qx + ty * qz - tz * qy;
|
|
132
|
+
scratch_local[1] = ty * qw + tw * qy + tz * qx - tx * qz;
|
|
133
|
+
scratch_local[2] = tz * qw + tw * qz + tx * qy - ty * qx;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Signed distance from a WORLD-space point to the posed shape's boundary.
|
|
138
|
+
* Rigid poses preserve distances, so the local shape's SDF applies
|
|
139
|
+
* unchanged after re-framing the query point.
|
|
140
|
+
*
|
|
141
|
+
* @param {number[]|Float32Array|Float64Array} point world-space, length 3
|
|
142
|
+
* @returns {number}
|
|
143
|
+
*/
|
|
144
|
+
signed_distance_at_point(point) {
|
|
145
|
+
this.#world_point_to_local(point);
|
|
146
|
+
return this.shape.signed_distance_at_point(scratch_local);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Whether a WORLD-space point lies inside the posed shape.
|
|
151
|
+
*
|
|
152
|
+
* @param {number[]|Float32Array|Float64Array} point world-space, length 3
|
|
153
|
+
* @returns {boolean}
|
|
154
|
+
*/
|
|
155
|
+
contains_point(point) {
|
|
156
|
+
this.#world_point_to_local(point);
|
|
157
|
+
return this.shape.contains_point(scratch_local);
|
|
158
|
+
}
|
|
109
159
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* @param {number}
|
|
6
|
-
* @
|
|
2
|
+
* Un-normalized gaussian: `exp(−distance² / (2·sigma²))`.
|
|
3
|
+
* This is not the standard gaussian — it lacks the normalization factor;
|
|
4
|
+
* the standard gaussian would be weighted by `1 / √(2π·sigma²)`.
|
|
5
|
+
* @param {number} sigma Standard deviation. Controls the "width" of the bell curve: larger sigma → wider curve, slower falloff with distance.
|
|
6
|
+
* @param {number} distance Distance from the mean (the point at which to evaluate the curve). At 0 the result is 1; it decays toward 0 as |distance| grows.
|
|
7
|
+
* @returns {number} Ranges from 0 to 1 (exclusive of 0, inclusive of 1 at distance 0)
|
|
7
8
|
*/
|
|
8
|
-
export function gaussian(sigma: number,
|
|
9
|
+
export function gaussian(sigma: number, distance: number): number;
|
|
9
10
|
//# sourceMappingURL=gaussian.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gaussian.d.ts","sourceRoot":"","sources":["../../../../src/core/math/gaussian.js"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"gaussian.d.ts","sourceRoot":"","sources":["../../../../src/core/math/gaussian.js"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,gCAJW,MAAM,YACN,MAAM,GACJ,MAAM,CAOlB"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* @param {number}
|
|
6
|
-
* @
|
|
2
|
+
* Un-normalized gaussian: `exp(−distance² / (2·sigma²))`.
|
|
3
|
+
* This is not the standard gaussian — it lacks the normalization factor;
|
|
4
|
+
* the standard gaussian would be weighted by `1 / √(2π·sigma²)`.
|
|
5
|
+
* @param {number} sigma Standard deviation. Controls the "width" of the bell curve: larger sigma → wider curve, slower falloff with distance.
|
|
6
|
+
* @param {number} distance Distance from the mean (the point at which to evaluate the curve). At 0 the result is 1; it decays toward 0 as |distance| grows.
|
|
7
|
+
* @returns {number} Ranges from 0 to 1 (exclusive of 0, inclusive of 1 at distance 0)
|
|
7
8
|
*/
|
|
8
|
-
export function gaussian(sigma,
|
|
9
|
-
const
|
|
9
|
+
export function gaussian(sigma, distance) {
|
|
10
|
+
const d2 = distance * distance;
|
|
10
11
|
const sigma2 = sigma * sigma;
|
|
11
12
|
|
|
12
|
-
return Math.exp(-
|
|
13
|
+
return Math.exp(- d2 / (2 * sigma2));
|
|
13
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Trail2D.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/graphics/ecs/trail2d/Trail2D.js"],"names":[],"mappings":";AAoBA;
|
|
1
|
+
{"version":3,"file":"Trail2D.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/graphics/ecs/trail2d/Trail2D.js"],"names":[],"mappings":";AAoBA;IA6KI,oCAMC;IAjLD;;;OAGG;IACH,QAFU,MAAM,CAES;IAEzB;;;OAGG;IACH,OAFU,MAAM,CAEM;IAEtB;;;OAGG;IACH,MAFU,MAAM,CAEP;IAET;;;OAGG;IACH,eAFU,MAAM,CAEE;IAElB;;;OAGG;IACH,qBAFU,MAAM,CAEQ;IAExB;;;OAGG;IACH,gBAFU,KAAK,CAEe;IAE9B;;;;OAIG;IACH,iBAFU,OAAO,CAEM;IAEvB;;;OAGG;IACH,QAFU,OAAO,GAAC,IAAI,CAER;IAEd;;;OAGG;IACH,UAFU,mBAAmB,CAEQ;IAErC;;;OAGG;IACH,cAFU,SAAS,CAEG;IAEtB;;;OAGG;IACH,cAAsB;IAEtB,gBAQC;IAMD,4BAEC;IAND,yBAEC;IAMD;;;;OAIG;IACH,cAHW,MAAM,GAAC,YAAY,GACjB,IAAI,CAIhB;IAED;;;;OAIG;IACH,gBAHW,MAAM,GAAC,YAAY,GACjB,IAAI,CAIhB;IAED;;;;OAIG;IACH,gBAHW,MAAM,GAAC,YAAY,SACnB,OAAO,QAQjB;IAED;;;;OAIG;IACH,cAHW,MAAM,GAAC,YAAY,GACjB,OAAO,CAInB;IAED;;;OAGG;IACH,qBAFW,MAAM,QAehB;IADG,kHAAgB;IAGpB;;OAEG;IACH,cAsBC;IAUD;;;;;;;;;;;aAcC;IAGD;;;;;;;;;;;;;;;MAQC;IAED;;;OAGG;IACH,cAFW,OAAO,WASjB;IAED;;;;;;;OAOG;IACH,cANW,MAAM,KACN,MAAM,KACN,MAAM,YACN,MAAM,GACJ,OAAO,CAyDnB;CAEJ;;;;;;sBAhTqB,iCAAiC;oBACnC,kCAAkC;wBAI9B,0BAA0B;oCACd,sCAAsC;0BAPhD,yCAAyC;6BAStC,mBAAmB;kCADd,wBAAwB"}
|
|
@@ -182,6 +182,13 @@ class Trail2D {
|
|
|
182
182
|
ribbon.setPointAlpha(i, 0);
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
+
// Ages/alphas alone don't erase the trail: point POSITIONS still
|
|
186
|
+
// trace the old path, and alpha is interpolated per-quad — the first
|
|
187
|
+
// live head vertex written after this would form a visible gradient
|
|
188
|
+
// quad back to the stale geometry (worst case: a screen-wide streak
|
|
189
|
+
// after a teleport). Defer a geometry reset to the next updateHead(),
|
|
190
|
+
// which is the first code to know the post-clear position.
|
|
191
|
+
this.setFlag(Trail2DFlags.Reseed);
|
|
185
192
|
}
|
|
186
193
|
|
|
187
194
|
static fromJSON(json) {
|
|
@@ -245,6 +252,20 @@ class Trail2D {
|
|
|
245
252
|
|
|
246
253
|
const maxAge = this.maxAge;
|
|
247
254
|
|
|
255
|
+
if (this.getFlag(Trail2DFlags.Reseed)) {
|
|
256
|
+
// post-clear() re-seed: collapse every point onto the new head
|
|
257
|
+
// position (mirrors Trail2DSystem.__build_trail's seeding).
|
|
258
|
+
// setPointPosition keeps the PREVIOUS/NEXT extrusion attributes
|
|
259
|
+
// consistent, so the screen-space normals are sane on the first
|
|
260
|
+
// live frame too.
|
|
261
|
+
const n = ribbon.getCount();
|
|
262
|
+
for (let i = 0; i < n; i++) {
|
|
263
|
+
ribbon.setPointPosition(i, x, y, z);
|
|
264
|
+
}
|
|
265
|
+
this.timeSinceLastUpdate = 0;
|
|
266
|
+
this.clearFlag(Trail2DFlags.Reseed);
|
|
267
|
+
}
|
|
268
|
+
|
|
248
269
|
const refitTimeDelta = maxAge / ribbon.getCount();
|
|
249
270
|
|
|
250
271
|
let head_index = ribbon.getHeadIndex();
|
|
@@ -6,5 +6,13 @@ export const Trail2DFlags = {
|
|
|
6
6
|
Spawning: 1,
|
|
7
7
|
Aging: 2,
|
|
8
8
|
Built: 4,
|
|
9
|
-
BoundsNeedUpdate: 8
|
|
9
|
+
BoundsNeedUpdate: 8,
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Set by Trail2D.clear(); consumed by the next updateHead(), which
|
|
13
|
+
* collapses the whole ribbon onto the new head position before resuming.
|
|
14
|
+
* Guarantees no quad can bridge post-clear geometry to pre-clear history
|
|
15
|
+
* (e.g. a screen-wide streak after teleporting the entity).
|
|
16
|
+
*/
|
|
17
|
+
Reseed: 16
|
|
10
18
|
};
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* 3D Eulerian grid for the fluid simulator — MAC (marker-and-cell) staggered
|
|
3
|
+
* layout: pressure, solids and scalars live at cell centers; each velocity
|
|
4
|
+
* component lives on the cell FACES normal to it (Harlow & Welch 1965).
|
|
3
5
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
+
* Staggering makes the discrete divergence and pressure gradient exact
|
|
7
|
+
* adjoints, so projection drives divergence to actual zero (no collocated
|
|
8
|
+
* operator-mismatch floor, no projection-invisible checkerboard modes) and
|
|
9
|
+
* solid boundaries pin the exact normal face velocity (true no-penetration).
|
|
10
|
+
*
|
|
11
|
+
* Holds three face-centered velocity components, a per-cell `solid` mask, and any
|
|
12
|
+
* number of user-defined cell-centered passive scalar attributes transported by
|
|
13
|
+
* the flow.
|
|
6
14
|
*
|
|
7
15
|
* Holds only state whose value carries information across step boundaries. The
|
|
8
16
|
* simulator's transient working memory (per-step velocity snapshots, divergence,
|
|
@@ -20,16 +28,24 @@
|
|
|
20
28
|
*/
|
|
21
29
|
export class FluidField {
|
|
22
30
|
/**
|
|
23
|
-
* Velocity X component
|
|
24
|
-
* `z * res_x * res_y + y * res_x + x
|
|
31
|
+
* Velocity X component on x-faces. Length `(res_x+1) * res_y * res_z`,
|
|
32
|
+
* indexed by `z * (res_x+1) * res_y + y * (res_x+1) + x` with
|
|
33
|
+
* `x ∈ [0, res_x]`. Face `(x, y, z)` sits between cells `(x−1, y, z)` and
|
|
34
|
+
* `(x, y, z)` — at grid-space position `(x − 0.5, y, z)` in the
|
|
35
|
+
* cell-center coordinate frame.
|
|
25
36
|
* @type {Float32Array|null}
|
|
26
37
|
*/
|
|
27
38
|
velocity_x: Float32Array | null;
|
|
28
39
|
/**
|
|
40
|
+
* Velocity Y component on y-faces. Length `res_x * (res_y+1) * res_z`,
|
|
41
|
+
* indexed by `z * res_x * (res_y+1) + y * res_x + x` with `y ∈ [0, res_y]`.
|
|
29
42
|
* @type {Float32Array|null}
|
|
30
43
|
*/
|
|
31
44
|
velocity_y: Float32Array | null;
|
|
32
45
|
/**
|
|
46
|
+
* Velocity Z component on z-faces. Length `res_x * res_y * (res_z+1)`,
|
|
47
|
+
* indexed by `z * res_x * res_y + y * res_x + x` with `z ∈ [0, res_z]`
|
|
48
|
+
* (the face slice size equals the cell slice size).
|
|
33
49
|
* @type {Float32Array|null}
|
|
34
50
|
*/
|
|
35
51
|
velocity_z: Float32Array | null;
|
|
@@ -72,6 +88,25 @@ export class FluidField {
|
|
|
72
88
|
* @type {Uint8Array|null}
|
|
73
89
|
*/
|
|
74
90
|
solid_neighbour_mask: Uint8Array | null;
|
|
91
|
+
/**
|
|
92
|
+
* Per-face "pinned" mask for x-faces: `1` where either adjacent cell is
|
|
93
|
+
* solid — the face's normal velocity is a boundary condition (0 for
|
|
94
|
+
* static solids), not a degree of freedom. Same length and indexing as
|
|
95
|
+
* {@link velocity_x}. Baked by {@link recomputeSolidNeighbourMask} via
|
|
96
|
+
* {@link v3_mac_compute_face_solid}; domain-edge faces stay 0 (open).
|
|
97
|
+
* @type {Uint8Array|null}
|
|
98
|
+
*/
|
|
99
|
+
face_solid_x: Uint8Array | null;
|
|
100
|
+
/**
|
|
101
|
+
* y-face pinned mask — see {@link face_solid_x}.
|
|
102
|
+
* @type {Uint8Array|null}
|
|
103
|
+
*/
|
|
104
|
+
face_solid_y: Uint8Array | null;
|
|
105
|
+
/**
|
|
106
|
+
* z-face pinned mask — see {@link face_solid_x}.
|
|
107
|
+
* @type {Uint8Array|null}
|
|
108
|
+
*/
|
|
109
|
+
face_solid_z: Uint8Array | null;
|
|
75
110
|
/**
|
|
76
111
|
* Per-cell pressure-Laplacian diagonal, baked alongside
|
|
77
112
|
* {@link solid_neighbour_mask} by the same kernel pass:
|
|
@@ -196,7 +231,11 @@ export class FluidField {
|
|
|
196
231
|
*/
|
|
197
232
|
cellIndex(x: number, y: number, z: number): number;
|
|
198
233
|
/**
|
|
199
|
-
* Set the velocity
|
|
234
|
+
* Set the velocity of an integer grid cell: each component is written to
|
|
235
|
+
* BOTH faces of the cell along its axis, so sampling at the cell centre
|
|
236
|
+
* reads back exactly `(vx, vy, vz)`. Adjacent cells share faces — the
|
|
237
|
+
* later write wins on a shared face, exactly like overlapping
|
|
238
|
+
* cell-centered writes used to.
|
|
200
239
|
* @param {number} x
|
|
201
240
|
* @param {number} y
|
|
202
241
|
* @param {number} z
|
|
@@ -206,7 +245,9 @@ export class FluidField {
|
|
|
206
245
|
*/
|
|
207
246
|
setVelocityAt(x: number, y: number, z: number, vx: number, vy: number, vz: number): void;
|
|
208
247
|
/**
|
|
209
|
-
* Add to the velocity
|
|
248
|
+
* Add to the velocity of an integer grid cell (impulse). Deposits each
|
|
249
|
+
* component onto BOTH faces of the cell along its axis; the centre-sampled
|
|
250
|
+
* velocity increases by exactly `(dvx, dvy, dvz)`.
|
|
210
251
|
* @param {number} x
|
|
211
252
|
* @param {number} y
|
|
212
253
|
* @param {number} z
|
|
@@ -239,8 +280,11 @@ export class FluidField {
|
|
|
239
280
|
*/
|
|
240
281
|
isSolidAt(x: number, y: number, z: number): boolean;
|
|
241
282
|
/**
|
|
242
|
-
* Sample velocity at a fractional grid position
|
|
243
|
-
* clamped).
|
|
283
|
+
* Sample velocity at a fractional grid position in CELL-CENTER coordinates
|
|
284
|
+
* (positions outside the grid are clamped). Each component is trilinearly
|
|
285
|
+
* interpolated on its own staggered face lattice — x-face `i` sits at
|
|
286
|
+
* `x = i − 0.5`, so the component is sampled at `x + 0.5` in face-index
|
|
287
|
+
* space, and likewise per axis. Writes into `out` and returns it.
|
|
244
288
|
* @param {Float32Array|number[]} out Length-3 destination.
|
|
245
289
|
* @param {number} x
|
|
246
290
|
* @param {number} y
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FluidField.d.ts","sourceRoot":"","sources":["../../../../../src/engine/physics/fluid/FluidField.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FluidField.d.ts","sourceRoot":"","sources":["../../../../../src/engine/physics/fluid/FluidField.js"],"names":[],"mappings":"AAWA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH;IAQI;;;;;;;OAOG;IACH,YAFU,YAAY,GAAC,IAAI,CAET;IAElB;;;;OAIG;IACH,YAFU,YAAY,GAAC,IAAI,CAET;IAElB;;;;;OAKG;IACH,YAFU,YAAY,GAAC,IAAI,CAET;IAElB;;;;;;OAMG;IACH,OAFU,UAAU,GAAC,IAAI,CAEZ;IAEb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,sBAFU,UAAU,GAAC,IAAI,CAEG;IAE5B;;;;;;;OAOG;IACH,cAFU,UAAU,GAAC,IAAI,CAEL;IAEpB;;;OAGG;IACH,cAFU,UAAU,GAAC,IAAI,CAEL;IAEpB;;;OAGG;IACH,cAFU,UAAU,GAAC,IAAI,CAEL;IAEpB;;;;;;;;;;;;;;;;OAgBG;IACH,eAFU,UAAU,GAAC,IAAI,CAEJ;IAErB;;;;;;;;;;;;;OAaG;IACH,UAFU,YAAY,kBAAc,IAAI,CAExB;IAEhB;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,yBAFU,OAAO,CAEe;IAShC;;;;;;OAMG;IACH,qBAJW,MAAM,SACN,MAAM,SACN,MAAM,QAWhB;IAED;;;OAGG;IACH,iBAHY,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAKnC;IAED;;;OAGG;IACH,aAHY,MAAM,CAKjB;IAED;;;;;;;;;OASG;IACH,gBAHW,MAAM,GACL,MAAM,CAejB;IAED;;;OAGG;IACH,kBAHW,MAAM,GACL,MAAM,CAIjB;IAED;;;;OAIG;IACH,oBAJW,MAAM,GACL,YAAY,GAAC,IAAI,CAM5B;IAED;;OAEG;IACH,uBAFY;QAAE,MAAM,MAAM,CAAC;QAAC,IAAI,EAAE,YAAY,CAAA;KAAE,EAAE,CAIjD;IAED;;;OAGG;IACH,cA6BC;IAED;;;;;;OAMG;IACH,aALW,MAAM,KACN,MAAM,KACN,MAAM,GACL,MAAM,CAajB;IAED;;;;;;;;;;;;OAYG;IACH,iBAPW,MAAM,KACN,MAAM,KACN,MAAM,MACN,MAAM,MACN,MAAM,MACN,MAAM,QAgBhB;IAED;;;;;;;;;;OAUG;IACH,iBAPW,MAAM,KACN,MAAM,KACN,MAAM,OACN,MAAM,OACN,MAAM,OACN,MAAM,QAgBhB;IAED;;;;;;OAMG;IACH,kCANW,MAAM,KACN,MAAM,KACN,MAAM,KACN,MAAM,SACN,MAAM,QAOhB;IAED;;;;;;OAMG;IACH,cALW,MAAM,KACN,MAAM,KACN,MAAM,YACN,OAAO,QAIjB;IAED;;;;;OAKG;IACH,aALW,MAAM,KACN,MAAM,KACN,MAAM,GACL,OAAO,CAIlB;IAED;;;;;;;;;;;OAWG;IACH,oBANW,YAAY,GAAC,MAAM,EAAE,KACrB,MAAM,KACN,MAAM,KACN,MAAM,GACL,YAAY,GAAC,MAAM,EAAE,CAUhC;IAED;;;;;;;OAOG;IACH,mBANW,MAAM,KACN,MAAM,KACN,MAAM,KACN,MAAM,GACL,MAAM,CAMjB;IAED;;;;;;;;;;OAUG;IACH,cAHW,UAAU,GACT,OAAO,CAqDlB;IAED;;;;;;;;;;;OAWG;IACH,QAFY,MAAM,CAajB;IAED;;;;;;;;;;OAUG;IACH,oCAgBC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACH,eAJW,MAAM,WACN,MAAM,WACN,MAAM,QA0ChB;IAED;;;;OAIG;IACH,cASC;;CACJ"}
|