@galacean/effects-core 2.7.3 → 2.7.5
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/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects runtime core for the web
|
|
4
4
|
* Author: Ant Group CO., Ltd.
|
|
5
5
|
* Contributors: 燃然,飂兮,十弦,云垣,茂安,意绮
|
|
6
|
-
* Version: v2.7.
|
|
6
|
+
* Version: v2.7.5
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
'use strict';
|
|
@@ -20319,6 +20319,8 @@ function calculateDirection(prePoint, point, nextPoint) {
|
|
|
20319
20319
|
if (this.time >= 0 && this.time < particleSystem.item.duration && particleSystem.isEnded()) {
|
|
20320
20320
|
particleSystem.reset();
|
|
20321
20321
|
}
|
|
20322
|
+
// TODO: There is one less conversion from second to millisecond here,
|
|
20323
|
+
// which is retained for frame test.
|
|
20322
20324
|
particleSystem.update(this.time - particleSystem.time);
|
|
20323
20325
|
}
|
|
20324
20326
|
this.lastTime = this.time;
|
|
@@ -31613,7 +31615,7 @@ function getStandardSpriteContent(sprite, transform) {
|
|
|
31613
31615
|
return ret;
|
|
31614
31616
|
}
|
|
31615
31617
|
|
|
31616
|
-
var version$1 = "2.7.
|
|
31618
|
+
var version$1 = "2.7.5";
|
|
31617
31619
|
var v0 = /^(\d+)\.(\d+)\.(\d+)(-(\w+)\.\d+)?$/;
|
|
31618
31620
|
var standardVersion = /^(\d+)\.(\d+)$/;
|
|
31619
31621
|
var reverseParticle = false;
|
|
@@ -34889,7 +34891,7 @@ registerPlugin("sprite", SpriteLoader, exports.VFXItem);
|
|
|
34889
34891
|
registerPlugin("particle", ParticleLoader, exports.VFXItem);
|
|
34890
34892
|
registerPlugin("cal", CalculateLoader, exports.VFXItem);
|
|
34891
34893
|
registerPlugin("interact", InteractLoader, exports.VFXItem);
|
|
34892
|
-
var version = "2.7.
|
|
34894
|
+
var version = "2.7.5";
|
|
34893
34895
|
logger.info("Core version: " + version + ".");
|
|
34894
34896
|
|
|
34895
34897
|
exports.AbstractPlugin = AbstractPlugin;
|