@woosh/meep-engine 2.119.131 → 2.120.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/editor/tools/v2/BlenderCameraOrientationGizmo.js +1 -1
- package/package.json +1 -1
- package/src/core/bvh2/bvh3/BVH.d.ts.map +1 -1
- package/src/core/bvh2/bvh3/BVH.js +6 -29
- package/src/core/bvh2/bvh3/ebvh_build_for_geometry_morton.js +1 -1
- package/src/core/bvh2/bvh3/ebvh_optimize_treelet.d.ts +2 -2
- package/src/core/bvh2/bvh3/ebvh_optimize_treelet.d.ts.map +1 -1
- package/src/core/bvh2/bvh3/ebvh_optimize_treelet.js +11 -3
- package/src/core/collection/RingBuffer.d.ts +5 -0
- package/src/core/collection/RingBuffer.d.ts.map +1 -1
- package/src/core/collection/RingBuffer.js +12 -2
- package/src/core/collection/list/List.js +1 -1
- package/src/core/collection/map/HashMap.d.ts.map +1 -1
- package/src/core/collection/map/HashMap.js +13 -0
- package/src/core/color/Color.d.ts.map +1 -1
- package/src/core/color/Color.js +1 -2
- package/src/core/color/oklab/linear_srgb_to_okhsv.d.ts.map +1 -1
- package/src/core/color/oklab/linear_srgb_to_okhsv.js +15 -4
- package/src/core/color/oklab/okhsv_to_linear_srgb.d.ts.map +1 -1
- package/src/core/color/oklab/okhsv_to_linear_srgb.js +8 -1
- package/src/core/color/operations/color_darken.d.ts.map +1 -1
- package/src/core/color/operations/color_darken.js +6 -1
- package/src/core/geom/3d/mat4/apply_mat4_transform_to_direction_v3_array.d.ts.map +1 -0
- package/src/core/geom/3d/{apply_mat4_transform_to_direction_v3_array.js → mat4/apply_mat4_transform_to_direction_v3_array.js} +1 -1
- package/src/core/geom/3d/mat4/apply_mat4_transform_to_v3_array.d.ts.map +1 -0
- package/src/core/geom/3d/mat4/compose_matrix4_array.d.ts.map +1 -0
- package/src/core/geom/3d/mat4/decompose_matrix_4_array.d.ts.map +1 -0
- package/src/core/geom/3d/{decompose_matrix_4_array.js → mat4/decompose_matrix_4_array.js} +1 -1
- package/src/core/geom/3d/mat4/eulerAnglesFromMatrix.d.ts.map +1 -0
- package/src/core/geom/3d/{eulerAnglesFromMatrix.js → mat4/eulerAnglesFromMatrix.js} +1 -1
- package/src/core/geom/3d/mat4/m4_extract_scale.d.ts.map +1 -0
- package/src/core/geom/3d/{m4_extract_scale.js → mat4/m4_extract_scale.js} +1 -1
- package/src/core/geom/3d/ray/Ray3.d.ts.map +1 -0
- package/src/core/geom/3d/{Ray3.js → ray/Ray3.js} +8 -8
- package/src/core/geom/3d/shape/TransformedShape3D.js +1 -1
- package/src/core/geom/3d/sphere/compute_bounding_sphere_of_2_spheres.d.ts.map +1 -0
- package/src/core/geom/3d/{compute_bounding_sphere_of_2_spheres.js → sphere/compute_bounding_sphere_of_2_spheres.js} +3 -3
- package/src/core/geom/3d/tetrahedra/triangle/trace_triangular_depth_map.js +1 -1
- package/src/core/geom/3d/topology/simplify/quadratic/Quadratic3.js +1 -1
- package/src/core/geom/3d/topology/struct/TopoTriangle.js +1 -1
- package/src/core/geom/3d/topology/tm_face_normal.js +1 -1
- package/src/core/geom/3d/topology/tm_vertex_compute_normal.js +1 -1
- package/src/core/geom/3d/triangle/aabb3_compute_from_triangle.d.ts.map +1 -0
- package/src/core/geom/3d/{aabb3_compute_from_triangle.js → triangle/aabb3_compute_from_triangle.js} +2 -2
- package/src/core/geom/3d/triangle/compute_triangle_normal.d.ts.map +1 -0
- package/src/core/geom/3d/{compute_triangle_normal.js → triangle/compute_triangle_normal.js} +1 -1
- package/src/core/geom/3d/triangle/v3_compute_triangle_normal.d.ts +13 -13
- package/src/core/geom/3d/triangle/v3_compute_triangle_normal.js +21 -21
- package/src/core/geom/Quaternion.d.ts.map +1 -1
- package/src/core/geom/Quaternion.js +18 -3
- package/src/core/geom/Vector3.d.ts.map +1 -1
- package/src/core/geom/Vector3.js +3 -2
- package/src/core/geom/packing/miniball/Miniball.d.ts.map +1 -1
- package/src/core/geom/packing/miniball/Miniball.js +9 -5
- package/src/core/geom/packing/miniball/Subspan.d.ts +8 -7
- package/src/core/geom/packing/miniball/Subspan.d.ts.map +1 -1
- package/src/core/geom/packing/miniball/Subspan.js +42 -52
- package/src/core/geom/vec2/v2_bearing_angle_towards.d.ts +6 -5
- package/src/core/geom/vec2/v2_bearing_angle_towards.d.ts.map +1 -1
- package/src/core/geom/vec2/v2_bearing_angle_towards.js +12 -11
- package/src/core/geom/vec2/v2_distance.d.ts +6 -6
- package/src/core/geom/vec2/v2_distance.js +6 -6
- package/src/core/geom/vec3/v3_compute_interior_angle.d.ts.map +1 -0
- package/src/core/geom/{3d → vec3}/v3_compute_interior_angle.js +1 -1
- package/src/core/geom/vec3/v3_distance_above_plane.d.ts +8 -8
- package/src/core/geom/vec3/v3_distance_above_plane.d.ts.map +1 -1
- package/src/core/geom/vec3/v3_distance_above_plane.js +9 -9
- package/src/core/geom/vec3/v3_slerp.d.ts +11 -9
- package/src/core/geom/vec3/v3_slerp.d.ts.map +1 -1
- package/src/core/geom/vec3/v3_slerp.js +8 -8
- package/src/core/math/PI.d.ts +6 -0
- package/src/core/math/PI.d.ts.map +1 -0
- package/src/core/math/PI.js +5 -0
- package/src/core/math/linalg/lu_factor_linear_system.d.ts +6 -6
- package/src/core/math/linalg/lu_factor_linear_system.d.ts.map +1 -1
- package/src/core/math/linalg/lu_factor_linear_system.js +11 -6
- package/src/core/math/linalg/lu_solve_linear_system.d.ts +8 -8
- package/src/core/math/linalg/lu_solve_linear_system.d.ts.map +1 -1
- package/src/core/math/linalg/lu_solve_linear_system.js +11 -9
- package/src/core/math/random/randomGaussian.d.ts +2 -2
- package/src/core/math/random/randomGaussian.d.ts.map +1 -1
- package/src/core/math/random/randomGaussian.js +1 -1
- package/src/engine/animation/Tween.d.ts +27 -0
- package/src/engine/animation/Tween.d.ts.map +1 -0
- package/src/engine/animation/Tween.js +61 -52
- package/src/engine/animation/curve/binding/BoundPlainNumericPropertyWriter.d.ts +7 -1
- package/src/engine/animation/curve/binding/BoundPlainNumericPropertyWriter.d.ts.map +1 -1
- package/src/engine/animation/curve/binding/BoundPlainNumericPropertyWriter.js +6 -0
- package/src/engine/animation/curve/binding/BoundQuaternionWriter.d.ts +5 -1
- package/src/engine/animation/curve/binding/BoundQuaternionWriter.d.ts.map +1 -1
- package/src/engine/animation/curve/binding/BoundQuaternionWriter.js +4 -0
- package/src/engine/animation/curve/binding/BoundVector3Writer.d.ts +5 -1
- package/src/engine/animation/curve/binding/BoundVector3Writer.d.ts.map +1 -1
- package/src/engine/animation/curve/binding/BoundVector3Writer.js +4 -0
- package/src/engine/development/performance/MetricCollection.d.ts.map +1 -1
- package/src/engine/development/performance/MetricCollection.js +6 -7
- package/src/engine/ecs/System.d.ts +1 -0
- package/src/engine/ecs/animation/Animation.d.ts +5 -0
- package/src/engine/ecs/animation/Animation.d.ts.map +1 -1
- package/src/engine/ecs/animation/Animation.js +14 -1
- package/src/engine/ecs/animation/AnimationClip.d.ts +6 -0
- package/src/engine/ecs/animation/AnimationClip.d.ts.map +1 -1
- package/src/engine/ecs/animation/AnimationClip.js +34 -22
- package/src/engine/ecs/guid/UUID.d.ts +4 -0
- package/src/engine/ecs/guid/UUID.d.ts.map +1 -1
- package/src/engine/ecs/guid/UUID.js +4 -0
- package/src/engine/ecs/transform/Transform.js +2 -2
- package/src/engine/graphics/ecs/camera/topdown/TopDownCameraController.js +1 -1
- package/src/engine/graphics/ecs/highlight/Highlight.d.ts.map +1 -1
- package/src/engine/graphics/ecs/highlight/Highlight.js +4 -0
- package/src/engine/graphics/geometry/bvh/buffered/bvh32_set_leaf_from_triangle.js +1 -1
- package/src/engine/graphics/impostors/octahedral/bake/compute_bounding_sphere.js +1 -1
- package/src/engine/graphics/particles/particular/engine/emitter/ParticleEmitter.js +1 -1
- package/src/engine/graphics/render/gizmo/GizmoShapeRenderingInterface.js +1 -1
- package/src/engine/graphics/sh3/lpv/PathTracerProbeRenderer.js +1 -1
- package/src/engine/graphics/sh3/lpv/depth/octahedral/bake_octahedral_depth_map.js +1 -1
- package/src/engine/graphics/sh3/lpv/depth/octahedral/bake_octahedral_depth_map_fibonacci.js +1 -1
- package/src/engine/graphics/sh3/lpv/depth/sh3_bake_depth.js +1 -1
- package/src/engine/graphics/sh3/path_tracer/PathTracedMesh.d.ts +1 -1
- package/src/engine/graphics/sh3/path_tracer/PathTracedMesh.d.ts.map +1 -1
- package/src/engine/graphics/sh3/path_tracer/PathTracedMesh.js +2 -2
- package/src/engine/graphics/sh3/path_tracer/PathTracedScene.d.ts +1 -1
- package/src/engine/graphics/sh3/path_tracer/PathTracedScene.d.ts.map +1 -1
- package/src/engine/graphics/sh3/path_tracer/PathTracedScene.js +1 -1
- package/src/engine/graphics/sh3/path_tracer/PathTracer.d.ts +1 -1
- package/src/engine/graphics/sh3/path_tracer/PathTracer.d.ts.map +1 -1
- package/src/engine/graphics/sh3/path_tracer/PathTracer.js +1 -1
- package/src/engine/graphics/sh3/path_tracer/prototypePathTracer.js +1 -1
- package/src/engine/graphics/sh3/prototypeSH3Probe.js +1 -1
- package/src/engine/graphics/util/composeMatrix4.js +1 -1
- package/src/engine/physics/computeInterceptPoint.d.ts +11 -1
- package/src/engine/physics/computeInterceptPoint.d.ts.map +1 -1
- package/src/engine/physics/computeInterceptPoint.js +29 -12
- package/src/engine/physics/gjk/expanding_polytope_algorithm.d.ts.map +1 -1
- package/src/engine/physics/gjk/expanding_polytope_algorithm.js +19 -59
- package/src/engine/physics/inverse_kinematics/fabrik/fabrik_solve.d.ts +3 -2
- package/src/engine/physics/inverse_kinematics/fabrik/fabrik_solve.d.ts.map +1 -1
- package/src/engine/physics/inverse_kinematics/fabrik/fabrik_solve.js +3 -2
- package/src/engine/physics/inverse_kinematics/two_joint_ik.d.ts.map +1 -1
- package/src/engine/physics/inverse_kinematics/two_joint_ik.js +1 -1
- package/src/core/geom/3d/Ray3.d.ts.map +0 -1
- package/src/core/geom/3d/aabb3_compute_from_triangle.d.ts.map +0 -1
- package/src/core/geom/3d/apply_mat4_transform_to_direction_v3_array.d.ts.map +0 -1
- package/src/core/geom/3d/apply_mat4_transform_to_v3_array.d.ts.map +0 -1
- package/src/core/geom/3d/compose_matrix4_array.d.ts.map +0 -1
- package/src/core/geom/3d/compute_bounding_sphere_of_2_spheres.d.ts.map +0 -1
- package/src/core/geom/3d/compute_triangle_normal.d.ts.map +0 -1
- package/src/core/geom/3d/decompose_matrix_4_array.d.ts.map +0 -1
- package/src/core/geom/3d/eulerAnglesFromMatrix.d.ts.map +0 -1
- package/src/core/geom/3d/m4_extract_scale.d.ts.map +0 -1
- package/src/core/geom/3d/v3_compute_interior_angle.d.ts.map +0 -1
- /package/src/core/geom/3d/{apply_mat4_transform_to_direction_v3_array.d.ts → mat4/apply_mat4_transform_to_direction_v3_array.d.ts} +0 -0
- /package/src/core/geom/3d/{apply_mat4_transform_to_v3_array.d.ts → mat4/apply_mat4_transform_to_v3_array.d.ts} +0 -0
- /package/src/core/geom/3d/{apply_mat4_transform_to_v3_array.js → mat4/apply_mat4_transform_to_v3_array.js} +0 -0
- /package/src/core/geom/3d/{compose_matrix4_array.d.ts → mat4/compose_matrix4_array.d.ts} +0 -0
- /package/src/core/geom/3d/{compose_matrix4_array.js → mat4/compose_matrix4_array.js} +0 -0
- /package/src/core/geom/3d/{decompose_matrix_4_array.d.ts → mat4/decompose_matrix_4_array.d.ts} +0 -0
- /package/src/core/geom/3d/{eulerAnglesFromMatrix.d.ts → mat4/eulerAnglesFromMatrix.d.ts} +0 -0
- /package/src/core/geom/3d/{m4_extract_scale.d.ts → mat4/m4_extract_scale.d.ts} +0 -0
- /package/src/core/geom/3d/{Ray3.d.ts → ray/Ray3.d.ts} +0 -0
- /package/src/core/geom/3d/{compute_bounding_sphere_of_2_spheres.d.ts → sphere/compute_bounding_sphere_of_2_spheres.d.ts} +0 -0
- /package/src/core/geom/3d/{aabb3_compute_from_triangle.d.ts → triangle/aabb3_compute_from_triangle.d.ts} +0 -0
- /package/src/core/geom/3d/{compute_triangle_normal.d.ts → triangle/compute_triangle_normal.d.ts} +0 -0
- /package/src/core/geom/{3d → vec3}/v3_compute_interior_angle.d.ts +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Factor linear equations Ax = b using LU decomposition A = LU where L is
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
2
|
+
* Factor linear equations Ax = b using LU decomposition A = LU where L is lower triangular matrix and U is upper triangular matrix.
|
|
3
|
+
* Input is square matrix A, integer array of pivot indices index[0->n-1], and size of square matrix n.
|
|
4
|
+
* Output factorization LU is in matrix A.
|
|
5
|
+
* If error is found, method returns false.
|
|
6
|
+
*
|
|
7
7
|
* @param {number[]} A Square matrix, will be modified
|
|
8
8
|
* @param {number[]|Uint32Array} index will be written to
|
|
9
9
|
* @param {number} size Size of the matrix ( 4x4 matrix has size 4 )
|
|
10
|
-
* @returns {boolean}
|
|
10
|
+
* @returns {boolean} true if factorization succeeded, false otherwise
|
|
11
11
|
*/
|
|
12
12
|
export function lu_factor_linear_system(A: number[], index: number[] | Uint32Array, size: number): boolean;
|
|
13
13
|
//# sourceMappingURL=lu_factor_linear_system.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lu_factor_linear_system.d.ts","sourceRoot":"","sources":["../../../../../src/core/math/linalg/lu_factor_linear_system.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lu_factor_linear_system.d.ts","sourceRoot":"","sources":["../../../../../src/core/math/linalg/lu_factor_linear_system.js"],"names":[],"mappings":"AAYA;;;;;;;;;;GAUG;AACH,2CALW,MAAM,EAAE,SACR,MAAM,EAAE,GAAC,WAAW,QACpB,MAAM,GACJ,OAAO,CA+FnB"}
|
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
import { assert } from "../../assert.js";
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Error bound during calculations, must be something reasonably large to avoid floating point rounding errors
|
|
5
|
+
* @type {number}
|
|
6
|
+
*/
|
|
3
7
|
const SMALL_NUMBER = 1e-12;
|
|
4
8
|
|
|
5
9
|
const SCRATCH_SIZE = 16;
|
|
10
|
+
// avoid allocation for smaller systems by using a scratch
|
|
6
11
|
const scratch = new Float64Array(SCRATCH_SIZE);
|
|
7
12
|
|
|
8
13
|
/**
|
|
9
|
-
* Factor linear equations Ax = b using LU decomposition A = LU where L is
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
+
* Factor linear equations Ax = b using LU decomposition A = LU where L is lower triangular matrix and U is upper triangular matrix.
|
|
15
|
+
* Input is square matrix A, integer array of pivot indices index[0->n-1], and size of square matrix n.
|
|
16
|
+
* Output factorization LU is in matrix A.
|
|
17
|
+
* If error is found, method returns false.
|
|
18
|
+
*
|
|
14
19
|
* @param {number[]} A Square matrix, will be modified
|
|
15
20
|
* @param {number[]|Uint32Array} index will be written to
|
|
16
21
|
* @param {number} size Size of the matrix ( 4x4 matrix has size 4 )
|
|
17
|
-
* @returns {boolean}
|
|
22
|
+
* @returns {boolean} true if factorization succeeded, false otherwise
|
|
18
23
|
*/
|
|
19
24
|
export function lu_factor_linear_system(A, index, size) {
|
|
20
25
|
assert.isNonNegativeInteger(size,'size');
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* lower triangular matrix and U is upper triangular matrix.
|
|
4
|
-
* factored matrix A=LU, integer array of pivot indices index[0->n-1],
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* @param {number[]} A Square matrix
|
|
2
|
+
* Assumes the system is factorized already. Use {@link lu_factor_linear_system} before if it isn't
|
|
3
|
+
* Solve linear equations Ax = b using LU decomposition A = LU where L is lower triangular matrix and U is upper triangular matrix.
|
|
4
|
+
* Input is factored matrix A=LU, integer array of pivot indices index[0->n-1], load vector x[0->n-1], and size of square matrix n.
|
|
5
|
+
* Note that A=LU and index[] are generated from method LUFactorLinearSystem.
|
|
6
|
+
* Also, solution vector is written directly over input load vector.
|
|
7
|
+
*
|
|
8
|
+
* @param {number[]} A Square matrix (flattened)
|
|
9
9
|
* @param {number[]|Uint32Array} index
|
|
10
|
-
* @param {number[]} x
|
|
10
|
+
* @param {number[]} x Load vector
|
|
11
11
|
* @param {number} size matrix size ( 4x4 matrix has size 4)
|
|
12
12
|
*/
|
|
13
13
|
export function lu_solve_linear_system(A: number[], index: number[] | Uint32Array, x: number[], size: number): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lu_solve_linear_system.d.ts","sourceRoot":"","sources":["../../../../../src/core/math/linalg/lu_solve_linear_system.js"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AACH,0CALW,MAAM,EAAE,SACR,MAAM,EAAE,GAAC,WAAW,KACpB,MAAM,EAAE,QACR,MAAM,
|
|
1
|
+
{"version":3,"file":"lu_solve_linear_system.d.ts","sourceRoot":"","sources":["../../../../../src/core/math/linalg/lu_solve_linear_system.js"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AACH,0CALW,MAAM,EAAE,SACR,MAAM,EAAE,GAAC,WAAW,KACpB,MAAM,EAAE,QACR,MAAM,QAwChB"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { assert } from "../../assert.js";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* lower triangular matrix and U is upper triangular matrix.
|
|
6
|
-
* factored matrix A=LU, integer array of pivot indices index[0->n-1],
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* @param {number[]} A Square matrix
|
|
4
|
+
* Assumes the system is factorized already. Use {@link lu_factor_linear_system} before if it isn't
|
|
5
|
+
* Solve linear equations Ax = b using LU decomposition A = LU where L is lower triangular matrix and U is upper triangular matrix.
|
|
6
|
+
* Input is factored matrix A=LU, integer array of pivot indices index[0->n-1], load vector x[0->n-1], and size of square matrix n.
|
|
7
|
+
* Note that A=LU and index[] are generated from method LUFactorLinearSystem.
|
|
8
|
+
* Also, solution vector is written directly over input load vector.
|
|
9
|
+
*
|
|
10
|
+
* @param {number[]} A Square matrix (flattened)
|
|
11
11
|
* @param {number[]|Uint32Array} index
|
|
12
|
-
* @param {number[]} x
|
|
12
|
+
* @param {number[]} x Load vector
|
|
13
13
|
* @param {number} size matrix size ( 4x4 matrix has size 4)
|
|
14
14
|
*/
|
|
15
15
|
export function lu_solve_linear_system(A, index, x, size) {
|
|
@@ -19,7 +19,9 @@ export function lu_solve_linear_system(A, index, x, size) {
|
|
|
19
19
|
|
|
20
20
|
let sum;
|
|
21
21
|
|
|
22
|
-
// Proceed with forward and back-substitution for L and U matrices.
|
|
22
|
+
// Proceed with forward and back-substitution for L and U matrices.
|
|
23
|
+
|
|
24
|
+
// First, forward substitution.
|
|
23
25
|
for (; i < size; ++i) {
|
|
24
26
|
const idx = index[i];
|
|
25
27
|
sum = x[idx];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Returns a random number within a normal distribution (Bell/Gaussian curve)
|
|
3
|
-
* @param {
|
|
3
|
+
* @param {number} [quality=6] controls number of "die rolls" used to approximate curve, more rolls - better approximation but higher cost of computation
|
|
4
4
|
* @param {function():number} random
|
|
5
5
|
* @returns {number} value between 0 and 1 with normal weight at 0.5
|
|
6
6
|
*/
|
|
7
|
-
export function randomGaussian(random: () => number, quality?:
|
|
7
|
+
export function randomGaussian(random: () => number, quality?: number): number;
|
|
8
8
|
//# sourceMappingURL=randomGaussian.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"randomGaussian.d.ts","sourceRoot":"","sources":["../../../../../src/core/math/random/randomGaussian.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,uCAHW,MAAW,MAAM,YADjB,
|
|
1
|
+
{"version":3,"file":"randomGaussian.d.ts","sourceRoot":"","sources":["../../../../../src/core/math/random/randomGaussian.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,uCAHW,MAAW,MAAM,YADjB,MAAM,GAEJ,MAAM,CAUlB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Returns a random number within a normal distribution (Bell/Gaussian curve)
|
|
3
|
-
* @param {
|
|
3
|
+
* @param {number} [quality=6] controls number of "die rolls" used to approximate curve, more rolls - better approximation but higher cost of computation
|
|
4
4
|
* @param {function():number} random
|
|
5
5
|
* @returns {number} value between 0 and 1 with normal weight at 0.5
|
|
6
6
|
*/
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export default Tween;
|
|
2
|
+
declare class Tween {
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @param {function(value:number, timeDelta:number)} callback
|
|
6
|
+
* @param {number} valueStart
|
|
7
|
+
* @param {number} valueEnd
|
|
8
|
+
* @param {number} duration time in seconds
|
|
9
|
+
* @param {function(fraction:number):number} [formula=TransitionFunctions.Linear]
|
|
10
|
+
* @param {boolean} [oscillate=false]
|
|
11
|
+
*/
|
|
12
|
+
constructor(callback: any, valueStart: number, valueEnd: number, duration: number, formula?: (x: number) => number, oscillate?: boolean);
|
|
13
|
+
timeElapsed: number;
|
|
14
|
+
on: {
|
|
15
|
+
ended: Signal<any, any, any, any, any, any, any, any>;
|
|
16
|
+
};
|
|
17
|
+
oscillate: boolean;
|
|
18
|
+
formula: (x: number) => number;
|
|
19
|
+
script: Script;
|
|
20
|
+
destroy(): void;
|
|
21
|
+
build(em: any): any;
|
|
22
|
+
entityManager: any;
|
|
23
|
+
entity: any;
|
|
24
|
+
}
|
|
25
|
+
import Signal from "../../core/events/signal/Signal.js";
|
|
26
|
+
import Script from "../ecs/components/Script.js";
|
|
27
|
+
//# sourceMappingURL=Tween.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tween.d.ts","sourceRoot":"","sources":["../../../../src/engine/animation/Tween.js"],"names":[],"mappings":";AAIA;IAOI;;;;;;;;OAQG;IACH,uCANW,MAAM,YACN,MAAM,YACN,MAAM,+CAEN,OAAO,EAsCjB;IAnDD,oBAAgB;IAEhB;;MAEE;IAoBE,mBAA0B;IAC1B,+BAAsB;IAGtB,eAsBE;IAGN,gBAEC;IAED,oBAKC;IAJG,mBAAuB;IACvB,YAA+B;CAItC;mBApEkB,oCAAoC;mBACpC,6BAA6B"}
|
|
@@ -2,62 +2,71 @@ import Signal from "../../core/events/signal/Signal.js";
|
|
|
2
2
|
import Script from "../ecs/components/Script.js";
|
|
3
3
|
import TransitionFunctions from "./TransitionFunctions.js";
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* @param {number} valueEnd
|
|
10
|
-
* @param {number} duration time in seconds
|
|
11
|
-
* @param {function(fraction:number):number} [formula=TransitionFunctions.Linear]
|
|
12
|
-
* @param {boolean} [oscillate=false]
|
|
13
|
-
* @constructor
|
|
14
|
-
*/
|
|
15
|
-
const Tween = function (callback, valueStart, valueEnd, duration, formula, oscillate) {
|
|
16
|
-
const self = this;
|
|
17
|
-
|
|
18
|
-
this.valueStart = valueStart;
|
|
19
|
-
this.valueEnd = valueEnd;
|
|
20
|
-
this.timeElapsed = 0;
|
|
21
|
-
this.oscillate = oscillate !== undefined ? oscillate : false;
|
|
22
|
-
this.formula = typeof (formula) === "function" ? formula : TransitionFunctions.Linear;
|
|
23
|
-
this.on = {
|
|
5
|
+
class Tween {
|
|
6
|
+
timeElapsed = 0;
|
|
7
|
+
|
|
8
|
+
on = {
|
|
24
9
|
ended: new Signal()
|
|
25
10
|
};
|
|
26
11
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @param {function(value:number, timeDelta:number)} callback
|
|
15
|
+
* @param {number} valueStart
|
|
16
|
+
* @param {number} valueEnd
|
|
17
|
+
* @param {number} duration time in seconds
|
|
18
|
+
* @param {function(fraction:number):number} [formula=TransitionFunctions.Linear]
|
|
19
|
+
* @param {boolean} [oscillate=false]
|
|
20
|
+
*/
|
|
21
|
+
constructor(
|
|
22
|
+
callback,
|
|
23
|
+
valueStart,
|
|
24
|
+
valueEnd,
|
|
25
|
+
duration,
|
|
26
|
+
formula = TransitionFunctions.Linear,
|
|
27
|
+
oscillate = false
|
|
28
|
+
) {
|
|
29
|
+
|
|
30
|
+
this.oscillate = oscillate;
|
|
31
|
+
this.formula = formula;
|
|
32
|
+
|
|
33
|
+
const valueRange = valueEnd - valueStart;
|
|
34
|
+
this.script = new Script( (timeDelta) => {
|
|
35
|
+
this.timeElapsed += timeDelta;
|
|
36
|
+
const timeElapsed = this.timeElapsed;
|
|
37
|
+
|
|
38
|
+
const cycleWhole = Math.floor(timeElapsed / duration);
|
|
39
|
+
const cycleFraction = (timeElapsed % duration) / duration;
|
|
40
|
+
let state = cycleFraction;
|
|
41
|
+
if (this.oscillate) {
|
|
42
|
+
if (cycleWhole % 2 === 1) {
|
|
43
|
+
state = 1 - cycleFraction;
|
|
44
|
+
}
|
|
45
|
+
} else {
|
|
46
|
+
if (cycleWhole > 0) {
|
|
47
|
+
state = 1;
|
|
48
|
+
this.on.ended.dispatch();
|
|
49
|
+
//remove self
|
|
50
|
+
this.destroy();
|
|
51
|
+
}
|
|
45
52
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
53
|
+
const y = this.formula(state);
|
|
54
|
+
const value = y * valueRange + valueStart;
|
|
55
|
+
callback(value, timeDelta);
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
destroy() {
|
|
60
|
+
this.entityManager.removeEntity(this.entity);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
build(em) {
|
|
64
|
+
this.entityManager = em;
|
|
65
|
+
this.entity = em.createEntity();
|
|
66
|
+
em.addComponentToEntity(this.entity, this.script);
|
|
67
|
+
return this.entity;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
61
70
|
|
|
62
71
|
|
|
63
72
|
export default Tween;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
export class BoundPlainNumericPropertyWriter extends BoundValueWriter {
|
|
2
|
+
/**
|
|
3
|
+
* @type {Object}
|
|
4
|
+
*/
|
|
2
5
|
parent: any;
|
|
3
|
-
|
|
6
|
+
/**
|
|
7
|
+
* @type {string}
|
|
8
|
+
*/
|
|
9
|
+
property_name: string;
|
|
4
10
|
bind(root: any, path: any): void;
|
|
5
11
|
write(data: any): void;
|
|
6
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BoundPlainNumericPropertyWriter.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/animation/curve/binding/BoundPlainNumericPropertyWriter.js"],"names":[],"mappings":"AAGA;IACI,YAAO;IACP,
|
|
1
|
+
{"version":3,"file":"BoundPlainNumericPropertyWriter.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/animation/curve/binding/BoundPlainNumericPropertyWriter.js"],"names":[],"mappings":"AAGA;IACI;;OAEG;IACH,YAAO;IACP;;OAEG;IACH,eAFU,MAAM,CAEF;IAEd,iCAGC;IAED,uBAEC;CACJ;iCApBgC,uBAAuB"}
|
|
@@ -2,7 +2,13 @@ import { resolvePathByArray } from "../../../../core/json/resolvePathByArray.js"
|
|
|
2
2
|
import { BoundValueWriter } from "./BoundValueWriter.js";
|
|
3
3
|
|
|
4
4
|
export class BoundPlainNumericPropertyWriter extends BoundValueWriter {
|
|
5
|
+
/**
|
|
6
|
+
* @type {Object}
|
|
7
|
+
*/
|
|
5
8
|
parent;
|
|
9
|
+
/**
|
|
10
|
+
* @type {string}
|
|
11
|
+
*/
|
|
6
12
|
property_name;
|
|
7
13
|
|
|
8
14
|
bind(root, path) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BoundQuaternionWriter.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/animation/curve/binding/BoundQuaternionWriter.js"],"names":[],"mappings":"AAEA;IAOI,
|
|
1
|
+
{"version":3,"file":"BoundQuaternionWriter.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/animation/curve/binding/BoundQuaternionWriter.js"],"names":[],"mappings":"AAEA;IAOI;;;OAGG;IACH,wBAFW,UAAU,EAMpB;IAED,uBAGC;;CACJ;iCAvBgC,uBAAuB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BoundVector3Writer.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/animation/curve/binding/BoundVector3Writer.js"],"names":[],"mappings":"AAEA;IAOI,
|
|
1
|
+
{"version":3,"file":"BoundVector3Writer.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/animation/curve/binding/BoundVector3Writer.js"],"names":[],"mappings":"AAEA;IAOI;;;OAGG;IACH,oBAFW,OAAO,EAMjB;IAED,uBAEC;;CACJ;iCAtBgC,uBAAuB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MetricCollection.d.ts","sourceRoot":"","sources":["../../../../../src/engine/development/performance/MetricCollection.js"],"names":[],"mappings":"AAGA;
|
|
1
|
+
{"version":3,"file":"MetricCollection.d.ts","sourceRoot":"","sources":["../../../../../src/engine/development/performance/MetricCollection.js"],"names":[],"mappings":"AAGA;IAEI;;;OAGG;IACH,aAAiB;IAEjB,cAIC;IAED;;;OAGG;IACH,QAFa,MAAM,EAAE,CAIpB;IAED;;;;;OAKG;IACH,8BAJW,MAAM,GAEJ,cAAc,CAQ1B;IAED;;;;OAIG;IACH,UAHW,MAAM,UACN,cAAc,QAMxB;IAED;;;;OAIG;IACH,UAHW,MAAM,GACJ,cAAc,GAAC,SAAS,CAIpC;CACJ"}
|
|
@@ -2,13 +2,12 @@ import { assert } from "../../../core/assert.js";
|
|
|
2
2
|
import { RingBufferMetric } from "./RingBufferMetric.js";
|
|
3
3
|
|
|
4
4
|
export class MetricCollection {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* @private
|
|
8
|
+
* @type {Map<string, AbstractMetric>}
|
|
9
|
+
*/
|
|
10
|
+
data = new Map();
|
|
12
11
|
|
|
13
12
|
clear() {
|
|
14
13
|
this.data.forEach((value, key) => {
|
|
@@ -23,6 +23,7 @@ export class System<A, B = any, C = any, D = any, E = any> {
|
|
|
23
23
|
|
|
24
24
|
unlink(a: A, entity: number): void
|
|
25
25
|
unlink(a: A, b: B, entity: number): void
|
|
26
|
+
unlink(a: A, b: B, c: C, entity: number): void
|
|
26
27
|
unlink(a: A, b: B, c: C, d: D, entity: number): void
|
|
27
28
|
unlink(a: A, b: B, c: C, d: D, e: E, entity: number): void
|
|
28
29
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Animation.d.ts","sourceRoot":"","sources":["../../../../../src/engine/ecs/animation/Animation.js"],"names":[],"mappings":"AAMA;;GAEG;AACH;
|
|
1
|
+
{"version":3,"file":"Animation.d.ts","sourceRoot":"","sources":["../../../../../src/engine/ecs/animation/Animation.js"],"names":[],"mappings":"AAMA;;GAEG;AACH;IAsHI;;;;OAIG;IACH,4BAFa,SAAS,CAMrB;IA9HD;;;;;OAKG;IACH,0BAwBC;IAvBG;;;OAGG;IACH,OAFU,IAAI,CAAC,aAAa,CAAC,CAEN;IAEvB,iBAAiB;IAMjB;;;OAGG;IACH,iBAFU,MAAM,GAAC,IAAI,CAEJ;IAEjB;;;OAGG;IACH,OAFU,MAAM,CAEoD;IAWxE;;;OAGG;IACH,iBAFW,OAAO,EAIjB;IAdD;;;OAGG;IACH,iBAFY,OAAO,CAIlB;IAUD;;;;OAIG;IACH,cAHW,MAAM,GAAC,cAAc,GACnB,IAAI,CAIhB;IAED;;;;OAIG;IACH,gBAHW,MAAM,GAAC,cAAc,GACnB,IAAI,CAIhB;IAED;;;;OAIG;IACH,gBAHW,MAAM,GAAC,cAAc,SACrB,OAAO,QAQjB;IAED;;;;OAIG;IACH,cAHW,MAAM,GAAC,cAAc,GACnB,OAAO,CAInB;IAED;;;;OAIG;IACH,cAHW,SAAS,GACP,OAAO,CAanB;IAED;;;OAGG;IACH,QAFa,MAAM,CAOlB;IAaD,0BAYC;IAED;;;MAKC;IAIL;;;OAGG;IACH,sBAFU,OAAO,CAEc;CAN9B;;kBAUS,MAAM;;iBAxKC,uCAAuC;8BAE1B,oBAAoB;+BACnB,qBAAqB"}
|
|
@@ -102,7 +102,11 @@ export class Animation {
|
|
|
102
102
|
* @returns {boolean}
|
|
103
103
|
*/
|
|
104
104
|
equals(other) {
|
|
105
|
-
if (other === undefined) {
|
|
105
|
+
if (other === undefined || other === null) {
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
if (other.isAnimation !== true) {
|
|
106
110
|
return false;
|
|
107
111
|
}
|
|
108
112
|
|
|
@@ -155,5 +159,14 @@ export class Animation {
|
|
|
155
159
|
|
|
156
160
|
}
|
|
157
161
|
|
|
162
|
+
/**
|
|
163
|
+
* @readonly
|
|
164
|
+
* @type {boolean}
|
|
165
|
+
*/
|
|
166
|
+
Animation.prototype.isAnimation = true;
|
|
158
167
|
|
|
168
|
+
/**
|
|
169
|
+
* @readonly
|
|
170
|
+
* @type {string}
|
|
171
|
+
*/
|
|
159
172
|
Animation.typeName = "Animation";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimationClip.d.ts","sourceRoot":"","sources":["../../../../../src/engine/ecs/animation/AnimationClip.js"],"names":[],"mappings":"AAKA;
|
|
1
|
+
{"version":3,"file":"AnimationClip.d.ts","sourceRoot":"","sources":["../../../../../src/engine/ecs/animation/AnimationClip.js"],"names":[],"mappings":"AAKA;IA2DI;;;;OAIG;IACH,yBAFa,aAAa,CAQzB;IApED,qBAA8B;IAC9B,6BAAqC;IAErC;;;OAGG;IACH,QAFU,OAAO,CAEO;IAExB;;;OAGG;IACH,WAFU,OAAO,CAEU;IAE3B;;;OAGG;IACH,OAFU,MAAM,CAEN;IAEV;;;;OAIG;IACH,cAHW,aAAa,GACX,OAAO,CAQnB;IAED;;;OAGG;IACH,QAFa,MAAM,CAUlB;IAED;;;;OAIG;IACH,WAHW,MAAM,GAAC,iBAAiB,GACtB,OAAO,CAInB;IAeD,0BA4BC;IAED;;;;;;MAQC;IAED;;;OAGG;IACH,uBAFW,YAAY,QAUtB;IAED;;;OAGG;IACH,yBAFW,YAAY,QAStB;CACJ;2BA5I0B,uCAAuC;4BADtC,wCAAwC;oBADhD,+BAA+B"}
|
|
@@ -4,28 +4,27 @@ import ObservedInteger from "../../../core/model/ObservedInteger.js";
|
|
|
4
4
|
import ObservedString from "../../../core/model/ObservedString.js";
|
|
5
5
|
|
|
6
6
|
export class AnimationClip {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
7
|
+
|
|
8
|
+
name = new ObservedString("");
|
|
9
|
+
repeatCount = new ObservedInteger(1);
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @type {Vector1}
|
|
14
|
+
*/
|
|
15
|
+
weight = new Vector1(1);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {Vector1}
|
|
20
|
+
*/
|
|
21
|
+
timeScale = new Vector1(1);
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
*/
|
|
27
|
+
flags = 0;
|
|
29
28
|
|
|
30
29
|
/**
|
|
31
30
|
*
|
|
@@ -63,6 +62,19 @@ export class AnimationClip {
|
|
|
63
62
|
return (this.flags & v) !== 0;
|
|
64
63
|
}
|
|
65
64
|
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @param j
|
|
68
|
+
* @returns {AnimationClip}
|
|
69
|
+
*/
|
|
70
|
+
static fromJSON(j){
|
|
71
|
+
const r = new AnimationClip();
|
|
72
|
+
|
|
73
|
+
r.fromJSON(j);
|
|
74
|
+
|
|
75
|
+
return r;
|
|
76
|
+
}
|
|
77
|
+
|
|
66
78
|
fromJSON(json) {
|
|
67
79
|
if (typeof json.name === "string") {
|
|
68
80
|
this.name.fromJSON(json.name);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UUID.d.ts","sourceRoot":"","sources":["../../../../../src/engine/ecs/guid/UUID.js"],"names":[],"mappings":"AAwBA;;;;GAIG;AACH;IAiHI;;;OAGG;IACH,aAFY,IAAI,CAQf;IAED,
|
|
1
|
+
{"version":3,"file":"UUID.d.ts","sourceRoot":"","sources":["../../../../../src/engine/ecs/guid/UUID.js"],"names":[],"mappings":"AAwBA;;;;GAIG;AACH;IAiHI;;;OAGG;IACH,aAFY,IAAI,CAQf;IAED;;;OAGG;IACH,aAFa,IAAI,CAQhB;IAED;;;;OAIG;IACH,iBAFY,MAAM,CAIjB;IA0CD;;;;OAIG;IACH,qBAHW,MAAM,GACL,IAAI,CAQf;IAlMD;;;OAGG;IACH,gBAFW,MAAM,EAAE,GAAC,UAAU,GAAC,SAAS,CAAC,MAAM,CAAC,EAO/C;IAED;;;OAGG;IACH,YAFa,UAAU,CAItB;IAED;;;OAGG;IACH,WAsEC;IAED;;OAEG;IACH,WAUC;IAmCD;;;;OAIG;IACH,cAFW,MAAM,QAmChB;IAeD;;;OAGG;IACH,YAFa,MAAM,CA2BlB;IAED;;;OAGG;IACH,YAFW,IAAI,QAId;IAED;;;;OAIG;IACH,cAHW,IAAI,GACF,OAAO,CAanB;IAED;;OAEG;IACH,QAFa,MAAM,CAWlB;IAED,iBAEC;IAED,uBAEC;IASL;;;OAGG;IACH,iBAFU,OAAO,CAEI;;CAZpB;;kBAIS,MAAM"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { assert } from "../../../core/assert.js";
|
|
2
|
-
import { compose_matrix4_array } from "../../../core/geom/3d/compose_matrix4_array.js";
|
|
3
|
-
import { decompose_matrix_4_array } from "../../../core/geom/3d/decompose_matrix_4_array.js";
|
|
4
2
|
import { allocate_m4 } from "../../../core/geom/3d/mat4/allocate_m4.js";
|
|
3
|
+
import { compose_matrix4_array } from "../../../core/geom/3d/mat4/compose_matrix4_array.js";
|
|
4
|
+
import { decompose_matrix_4_array } from "../../../core/geom/3d/mat4/decompose_matrix_4_array.js";
|
|
5
5
|
import { m4_multiply } from "../../../core/geom/3d/mat4/m4_multiply.js";
|
|
6
6
|
import { MATRIX_4_IDENTITY } from "../../../core/geom/3d/mat4/MATRIX_4_IDENTITY.js";
|
|
7
7
|
import Quaternion from "../../../core/geom/Quaternion.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Matrix4 } from "three";
|
|
2
2
|
import { assert } from "../../../../../core/assert.js";
|
|
3
|
-
import { eulerAnglesFromMatrix } from "../../../../../core/geom/3d/eulerAnglesFromMatrix.js";
|
|
3
|
+
import { eulerAnglesFromMatrix } from "../../../../../core/geom/3d/mat4/eulerAnglesFromMatrix.js";
|
|
4
4
|
import { normalize_angle_rad } from "../../../../../core/geom/normalize_angle_rad.js";
|
|
5
5
|
import Quaternion from "../../../../../core/geom/Quaternion.js";
|
|
6
6
|
import Vector3 from '../../../../../core/geom/Vector3.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Highlight.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/graphics/ecs/highlight/Highlight.js"],"names":[],"mappings":";AAGA;
|
|
1
|
+
{"version":3,"file":"Highlight.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/graphics/ecs/highlight/Highlight.js"],"names":[],"mappings":";AAGA;IAoEI;;;;;;OAMG;IACH,kBALW,MAAM,KACN,MAAM,KACN,MAAM,MACN,MAAM,aAWhB;IAED;;;;OAIG;IACH,4BAFa,SAAS,CAQrB;IA/FD;;;OAGG;IACH,UAFU,IAAI,CAAC,mBAAmB,CAAC,CAEb;IAEtB;;;OAGG;IACH,SAFW,mBAAmB,QAI7B;IAED;;;;OAIG;IACH,YAHW,mBAAmB,GACjB,OAAO,CAInB;IAED;;;OAGG;IACH,iBAFa,mBAAmB,CAQ/B;IAED;;;;OAIG;IACH,cAHW,SAAS,GACR,OAAO,CAQlB;IAED;;;OAGG;IACH,QAFY,MAAM,CAIjB;IAED;;MAIC;IAED;;aAEC;CAgCJ;;;;iBArGgB,0CAA0C;oCACvB,0BAA0B"}
|