@woosh/meep-engine 2.93.1 → 2.93.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/build/meep.cjs +9 -42
- package/build/meep.min.js +1 -1
- package/build/meep.module.js +9 -42
- package/package.json +1 -1
- package/src/core/collection/map/HashMap.d.ts.map +1 -1
- package/src/core/collection/map/HashMap.js +8 -41
- package/src/core/collection/set/HashSet.spec.js +16 -0
- package/src/engine/animation/clip/ecd_bind_animation_curve.d.ts.map +1 -1
- package/src/engine/animation/clip/ecd_bind_animation_curve.js +7 -3
- package/src/engine/animation/curve/prototypeGLTF.js +15 -11
- package/src/engine/ecs/Entity.js +1 -1
- package/src/engine/ecs/EntityComponentDataset.js +0 -14
- package/src/engine/ecs/computeComponentClassName.d.ts +2 -0
- package/src/engine/ecs/computeComponentClassName.d.ts.map +1 -0
- package/src/engine/ecs/computeComponentClassName.js +13 -0
package/build/meep.cjs
CHANGED
|
@@ -60513,54 +60513,21 @@ class HashMap {
|
|
|
60513
60513
|
*
|
|
60514
60514
|
* @returns {Iterator<V>}
|
|
60515
60515
|
*/
|
|
60516
|
-
values() {
|
|
60517
|
-
const entryIterator = this[Symbol.iterator]();
|
|
60518
|
-
|
|
60519
|
-
return {
|
|
60520
|
-
next() {
|
|
60521
|
-
const n = entryIterator.next();
|
|
60522
|
-
|
|
60523
|
-
if (n.done) {
|
|
60524
|
-
return {
|
|
60525
|
-
done: true,
|
|
60526
|
-
value: undefined
|
|
60527
|
-
};
|
|
60528
|
-
} else {
|
|
60529
|
-
return {
|
|
60530
|
-
done: false,
|
|
60531
|
-
value: n.value[1]
|
|
60532
|
-
};
|
|
60533
|
-
}
|
|
60516
|
+
* values() {
|
|
60534
60517
|
|
|
60535
|
-
|
|
60536
|
-
|
|
60518
|
+
for (const [k, v] of this) {
|
|
60519
|
+
yield v;
|
|
60520
|
+
}
|
|
60537
60521
|
}
|
|
60538
60522
|
|
|
60539
60523
|
/**
|
|
60540
60524
|
*
|
|
60541
60525
|
* @returns {Iterator<K>}
|
|
60542
60526
|
*/
|
|
60543
|
-
keys() {
|
|
60544
|
-
const
|
|
60545
|
-
|
|
60546
|
-
|
|
60547
|
-
next() {
|
|
60548
|
-
const n = entryIterator.next();
|
|
60549
|
-
|
|
60550
|
-
if (n.done) {
|
|
60551
|
-
return {
|
|
60552
|
-
done: true,
|
|
60553
|
-
value: undefined
|
|
60554
|
-
};
|
|
60555
|
-
} else {
|
|
60556
|
-
return {
|
|
60557
|
-
done: false,
|
|
60558
|
-
value: n.value[0]
|
|
60559
|
-
};
|
|
60560
|
-
}
|
|
60561
|
-
|
|
60562
|
-
}
|
|
60563
|
-
};
|
|
60527
|
+
* keys() {
|
|
60528
|
+
for (const [k, v] of this) {
|
|
60529
|
+
yield k;
|
|
60530
|
+
}
|
|
60564
60531
|
}
|
|
60565
60532
|
}
|
|
60566
60533
|
|
|
@@ -72661,7 +72628,7 @@ class Entity {
|
|
|
72661
72628
|
const component = this.getComponent(klass);
|
|
72662
72629
|
|
|
72663
72630
|
if (component === null) {
|
|
72664
|
-
throw new Error(`Component of given class not found`);
|
|
72631
|
+
throw new Error(`Component of given class '${computeComponentClassName(klass)}' not found`);
|
|
72665
72632
|
}
|
|
72666
72633
|
|
|
72667
72634
|
return component;
|