@galacean/effects-threejs 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 +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects runtime threejs plugin 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';
|
|
@@ -20341,6 +20341,8 @@ function calculateDirection(prePoint, point, nextPoint) {
|
|
|
20341
20341
|
if (this.time >= 0 && this.time < particleSystem.item.duration && particleSystem.isEnded()) {
|
|
20342
20342
|
particleSystem.reset();
|
|
20343
20343
|
}
|
|
20344
|
+
// TODO: There is one less conversion from second to millisecond here,
|
|
20345
|
+
// which is retained for frame test.
|
|
20344
20346
|
particleSystem.update(this.time - particleSystem.time);
|
|
20345
20347
|
}
|
|
20346
20348
|
this.lastTime = this.time;
|
|
@@ -31635,7 +31637,7 @@ function getStandardSpriteContent(sprite, transform) {
|
|
|
31635
31637
|
return ret;
|
|
31636
31638
|
}
|
|
31637
31639
|
|
|
31638
|
-
var version$2 = "2.7.
|
|
31640
|
+
var version$2 = "2.7.5";
|
|
31639
31641
|
var v0 = /^(\d+)\.(\d+)\.(\d+)(-(\w+)\.\d+)?$/;
|
|
31640
31642
|
var standardVersion = /^(\d+)\.(\d+)$/;
|
|
31641
31643
|
var reverseParticle = false;
|
|
@@ -34911,7 +34913,7 @@ registerPlugin("sprite", SpriteLoader, exports.VFXItem);
|
|
|
34911
34913
|
registerPlugin("particle", ParticleLoader, exports.VFXItem);
|
|
34912
34914
|
registerPlugin("cal", CalculateLoader, exports.VFXItem);
|
|
34913
34915
|
registerPlugin("interact", InteractLoader, exports.VFXItem);
|
|
34914
|
-
var version$1 = "2.7.
|
|
34916
|
+
var version$1 = "2.7.5";
|
|
34915
34917
|
logger.info("Core version: " + version$1 + ".");
|
|
34916
34918
|
|
|
34917
34919
|
var _obj;
|
|
@@ -36492,7 +36494,7 @@ setMaxSpriteMeshItemCount(8);
|
|
|
36492
36494
|
*/ Mesh.create = function(engine, props) {
|
|
36493
36495
|
return new ThreeMesh(engine, props);
|
|
36494
36496
|
};
|
|
36495
|
-
var version = "2.7.
|
|
36497
|
+
var version = "2.7.5";
|
|
36496
36498
|
logger.info("THREEJS plugin version: " + version + ".");
|
|
36497
36499
|
|
|
36498
36500
|
exports.AbstractPlugin = AbstractPlugin;
|