@woosh/meep-engine 2.47.28 → 2.47.29
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
CHANGED
|
@@ -54200,9 +54200,8 @@ class Vector1 extends Number {
|
|
|
54200
54200
|
constructor(x = 0) {
|
|
54201
54201
|
super();
|
|
54202
54202
|
|
|
54203
|
-
assert.
|
|
54204
|
-
|
|
54205
|
-
assert.ok(!Number.isNaN(x), `X must be a valid number, instead was NaN`);
|
|
54203
|
+
assert.isNumber( x, 'x');
|
|
54204
|
+
assert.notNaN(x, 'x');
|
|
54206
54205
|
|
|
54207
54206
|
this.x = x;
|
|
54208
54207
|
|
|
@@ -99958,13 +99957,12 @@ const BehaviorStatus = {
|
|
|
99958
99957
|
* @template CTX
|
|
99959
99958
|
*/
|
|
99960
99959
|
class Behavior {
|
|
99961
|
-
|
|
99962
|
-
|
|
99963
|
-
|
|
99964
|
-
|
|
99965
|
-
|
|
99966
|
-
|
|
99967
|
-
}
|
|
99960
|
+
|
|
99961
|
+
/**
|
|
99962
|
+
* Any internal state used by the behavior
|
|
99963
|
+
* @type {CTX|null}
|
|
99964
|
+
*/
|
|
99965
|
+
context = null;
|
|
99968
99966
|
|
|
99969
99967
|
/**
|
|
99970
99968
|
* Main update function. Every behavior executes some logic, some behaviors are long-running and some are instantaneous
|