@galacean/effects 1.6.6 → 1.6.8-alpha.0
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/alipay.js +4 -5
- package/dist/alipay.js.map +1 -1
- package/dist/alipay.mjs +4 -5
- package/dist/alipay.mjs.map +1 -1
- package/dist/index.js +5 -6
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +3 -3
- package/dist/index.min.js.map +1 -1
- package/dist/index.mjs +5 -6
- package/dist/index.mjs.map +1 -1
- package/dist/weapp.js +4 -5
- package/dist/weapp.js.map +1 -1
- package/dist/weapp.mjs +4 -5
- package/dist/weapp.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects runtime player for the web
|
|
4
4
|
* Author: Ant Group CO., Ltd.
|
|
5
5
|
* Contributors: 燃然,飂兮,十弦,云垣,茂安,意绮
|
|
6
|
-
* Version: v1.6.
|
|
6
|
+
* Version: v1.6.8-alpha.0
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
'use strict';
|
|
@@ -8869,9 +8869,9 @@ var Transform = /** @class */ (function () {
|
|
|
8869
8869
|
*/
|
|
8870
8870
|
Transform.prototype.setScale = function (x, y, z) {
|
|
8871
8871
|
if (this.scale.x !== x || this.scale.y !== y || this.scale.z !== z) {
|
|
8872
|
-
this.scale.x = x;
|
|
8873
|
-
this.scale.y = y;
|
|
8874
|
-
this.scale.z = z;
|
|
8872
|
+
this.scale.x = x ? x : 1e-5;
|
|
8873
|
+
this.scale.y = y ? y : 1e-5;
|
|
8874
|
+
this.scale.z = z ? z : 1e-5;
|
|
8875
8875
|
this.dirtyFlags.localData = true;
|
|
8876
8876
|
this.dispatchValueChange();
|
|
8877
8877
|
}
|
|
@@ -17732,7 +17732,6 @@ var ParticleSystem = /** @class */ (function () {
|
|
|
17732
17732
|
if (options.removeParticle) {
|
|
17733
17733
|
mesh.removePoint(pointIndex);
|
|
17734
17734
|
this.clearPointTrail(pointIndex);
|
|
17735
|
-
node.content[0] = 0;
|
|
17736
17735
|
}
|
|
17737
17736
|
hitPositions.push(pos);
|
|
17738
17737
|
if (!options.multiple) {
|
|
@@ -31042,7 +31041,7 @@ Renderer.create = function (canvas, framework, renderOptions) {
|
|
|
31042
31041
|
Engine.create = function (gl) {
|
|
31043
31042
|
return new GLEngine(gl);
|
|
31044
31043
|
};
|
|
31045
|
-
var version = "1.6.
|
|
31044
|
+
var version = "1.6.8-alpha.0";
|
|
31046
31045
|
logger.info('player version: ' + version);
|
|
31047
31046
|
|
|
31048
31047
|
exports.AbstractPlugin = AbstractPlugin;
|