@galacean/effects-core 2.3.2 → 2.3.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/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -9
- 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.3.
|
|
6
|
+
* Version: v2.3.3
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
'use strict';
|
|
@@ -16520,14 +16520,14 @@ exports.ShapeComponent = /*#__PURE__*/ function(MeshComponent) {
|
|
|
16520
16520
|
var control2 = easingIns[pointIndex.easingIn];
|
|
16521
16521
|
this.graphicsPath.bezierCurveTo(control1.x + lastPoint.x, control1.y + lastPoint.y, control2.x + point.x, control2.y + point.y, point.x, point.y, 1);
|
|
16522
16522
|
}
|
|
16523
|
-
var pointIndex1 = indices[0];
|
|
16524
|
-
var lastPointIndex1 = indices[indices.length - 1];
|
|
16525
|
-
var point1 = points[pointIndex1.point];
|
|
16526
|
-
var lastPoint1 = points[lastPointIndex1.point];
|
|
16527
|
-
var control11 = easingOuts[lastPointIndex1.easingOut];
|
|
16528
|
-
var control21 = easingIns[pointIndex1.easingIn];
|
|
16529
|
-
this.graphicsPath.bezierCurveTo(control11.x + lastPoint1.x, control11.y + lastPoint1.y, control21.x + point1.x, control21.y + point1.y, point1.x, point1.y, 1);
|
|
16530
16523
|
if (shape.close) {
|
|
16524
|
+
var pointIndex1 = indices[0];
|
|
16525
|
+
var lastPointIndex1 = indices[indices.length - 1];
|
|
16526
|
+
var point1 = points[pointIndex1.point];
|
|
16527
|
+
var lastPoint1 = points[lastPointIndex1.point];
|
|
16528
|
+
var control11 = easingOuts[lastPointIndex1.easingOut];
|
|
16529
|
+
var control21 = easingIns[pointIndex1.easingIn];
|
|
16530
|
+
this.graphicsPath.bezierCurveTo(control11.x + lastPoint1.x, control11.y + lastPoint1.y, control21.x + point1.x, control21.y + point1.y, point1.x, point1.y, 1);
|
|
16531
16531
|
this.graphicsPath.closePath();
|
|
16532
16532
|
}
|
|
16533
16533
|
}
|
|
@@ -32099,7 +32099,7 @@ registerPlugin("sprite", SpriteLoader, exports.VFXItem);
|
|
|
32099
32099
|
registerPlugin("particle", ParticleLoader, exports.VFXItem);
|
|
32100
32100
|
registerPlugin("cal", CalculateLoader, exports.VFXItem);
|
|
32101
32101
|
registerPlugin("interact", InteractLoader, exports.VFXItem);
|
|
32102
|
-
var version = "2.3.
|
|
32102
|
+
var version = "2.3.3";
|
|
32103
32103
|
logger.info("Core version: " + version + ".");
|
|
32104
32104
|
|
|
32105
32105
|
exports.AbstractPlugin = AbstractPlugin;
|