@woosh/meep-engine 2.113.7 → 2.113.9
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/build/meep.cjs +18 -18
- package/build/meep.min.js +1 -1
- package/build/meep.module.js +18 -18
- package/package.json +1 -1
- package/src/core/collection/KeyValuePair.d.ts +3 -4
- package/src/core/collection/KeyValuePair.d.ts.map +1 -1
- package/src/core/collection/KeyValuePair.js +0 -1
- package/src/core/geom/3d/frustum/frustum3_computeNearestPointToPoint.d.ts.map +1 -1
- package/src/core/geom/3d/frustum/frustum3_computeNearestPointToPoint.js +5 -5
- package/src/core/geom/3d/frustum/frustum_from_projection_matrix_array.d.ts +3 -2
- package/src/core/geom/3d/frustum/frustum_from_projection_matrix_array.d.ts.map +1 -1
- package/src/core/geom/3d/frustum/frustum_from_projection_matrix_array.js +9 -33
- package/src/core/geom/3d/plane/plane3_normalize.d.ts +11 -0
- package/src/core/geom/3d/plane/plane3_normalize.d.ts.map +1 -0
- package/src/core/geom/3d/plane/plane3_normalize.js +26 -0
- package/src/core/geom/3d/plane/plane3_project_point.d.ts +13 -0
- package/src/core/geom/3d/plane/plane3_project_point.d.ts.map +1 -0
- package/src/core/geom/3d/plane/{plane3_projectPoint.js → plane3_project_point.js} +6 -2
- package/src/core/model/object/ImmutableObjectPool.d.ts.map +1 -1
- package/src/core/model/object/ImmutableObjectPool.js +18 -17
- package/src/core/bvh2/traversal/__process_point_if_within_planes.d.ts +0 -15
- package/src/core/bvh2/traversal/__process_point_if_within_planes.d.ts.map +0 -1
- package/src/core/bvh2/traversal/__process_point_if_within_planes.js +0 -56
- package/src/core/geom/3d/plane/plane3_projectPoint.d.ts +0 -13
- package/src/core/geom/3d/plane/plane3_projectPoint.d.ts.map +0 -1
package/build/meep.cjs
CHANGED
|
@@ -82497,7 +82497,6 @@ function readStyleToken(text, cursor, length) {
|
|
|
82497
82497
|
*/
|
|
82498
82498
|
class KeyValuePair {
|
|
82499
82499
|
/**
|
|
82500
|
-
* @template Key, Value
|
|
82501
82500
|
* @param {Key} key
|
|
82502
82501
|
* @param {Value} value
|
|
82503
82502
|
*/
|
|
@@ -98000,26 +97999,27 @@ class ImmutableObjectPool {
|
|
|
98000
97999
|
* @type {Signal<Key,Value>}
|
|
98001
98000
|
*/
|
|
98002
98001
|
onRemoved = new Signal()
|
|
98002
|
+
/**
|
|
98003
|
+
*
|
|
98004
|
+
* @type {HashMap<Key, CacheElement<Key,Value>[]>}
|
|
98005
|
+
*/
|
|
98006
|
+
data = new HashMap();
|
|
98007
|
+
|
|
98008
|
+
/**
|
|
98009
|
+
*
|
|
98010
|
+
* @type {CacheElement<Key,Value>|null}
|
|
98011
|
+
* @private
|
|
98012
|
+
*/
|
|
98013
|
+
__first = null;
|
|
98014
|
+
/**
|
|
98015
|
+
*
|
|
98016
|
+
* @type {CacheElement<Key,Value>|null}
|
|
98017
|
+
* @private
|
|
98018
|
+
*/
|
|
98019
|
+
__last = null;
|
|
98003
98020
|
|
|
98004
98021
|
constructor({ capacity = 100, perKeyCapacity = 10 } = {}) {
|
|
98005
|
-
/**
|
|
98006
|
-
*
|
|
98007
|
-
* @type {HashMap<Key, CacheElement<Key,Value>[]>}
|
|
98008
|
-
*/
|
|
98009
|
-
this.data = new HashMap();
|
|
98010
98022
|
|
|
98011
|
-
/**
|
|
98012
|
-
*
|
|
98013
|
-
* @type {CacheElement<Key,Value>|null}
|
|
98014
|
-
* @private
|
|
98015
|
-
*/
|
|
98016
|
-
this.__first = null;
|
|
98017
|
-
/**
|
|
98018
|
-
*
|
|
98019
|
-
* @type {CacheElement<Key,Value>|null}
|
|
98020
|
-
* @private
|
|
98021
|
-
*/
|
|
98022
|
-
this.__last = null;
|
|
98023
98023
|
|
|
98024
98024
|
/**
|
|
98025
98025
|
* How many items in total the pool can hold
|