@galacean/effects-threejs 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 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.3.2
6
+ * Version: v2.3.3
7
7
  */
8
8
 
9
9
  'use strict';
@@ -16542,14 +16542,14 @@ exports.ShapeComponent = /*#__PURE__*/ function(MeshComponent) {
16542
16542
  var control2 = easingIns[pointIndex.easingIn];
16543
16543
  this.graphicsPath.bezierCurveTo(control1.x + lastPoint.x, control1.y + lastPoint.y, control2.x + point.x, control2.y + point.y, point.x, point.y, 1);
16544
16544
  }
16545
- var pointIndex1 = indices[0];
16546
- var lastPointIndex1 = indices[indices.length - 1];
16547
- var point1 = points[pointIndex1.point];
16548
- var lastPoint1 = points[lastPointIndex1.point];
16549
- var control11 = easingOuts[lastPointIndex1.easingOut];
16550
- var control21 = easingIns[pointIndex1.easingIn];
16551
- this.graphicsPath.bezierCurveTo(control11.x + lastPoint1.x, control11.y + lastPoint1.y, control21.x + point1.x, control21.y + point1.y, point1.x, point1.y, 1);
16552
16545
  if (shape.close) {
16546
+ var pointIndex1 = indices[0];
16547
+ var lastPointIndex1 = indices[indices.length - 1];
16548
+ var point1 = points[pointIndex1.point];
16549
+ var lastPoint1 = points[lastPointIndex1.point];
16550
+ var control11 = easingOuts[lastPointIndex1.easingOut];
16551
+ var control21 = easingIns[pointIndex1.easingIn];
16552
+ this.graphicsPath.bezierCurveTo(control11.x + lastPoint1.x, control11.y + lastPoint1.y, control21.x + point1.x, control21.y + point1.y, point1.x, point1.y, 1);
16553
16553
  this.graphicsPath.closePath();
16554
16554
  }
16555
16555
  }
@@ -32121,7 +32121,7 @@ registerPlugin("sprite", SpriteLoader, exports.VFXItem);
32121
32121
  registerPlugin("particle", ParticleLoader, exports.VFXItem);
32122
32122
  registerPlugin("cal", CalculateLoader, exports.VFXItem);
32123
32123
  registerPlugin("interact", InteractLoader, exports.VFXItem);
32124
- var version$1 = "2.3.2";
32124
+ var version$1 = "2.3.3";
32125
32125
  logger.info("Core version: " + version$1 + ".");
32126
32126
 
32127
32127
  var _obj;
@@ -33721,7 +33721,7 @@ setMaxSpriteMeshItemCount(8);
33721
33721
  */ Mesh.create = function(engine, props) {
33722
33722
  return new ThreeMesh(engine, props);
33723
33723
  };
33724
- var version = "2.3.2";
33724
+ var version = "2.3.3";
33725
33725
  logger.info("THREEJS plugin version: " + version + ".");
33726
33726
 
33727
33727
  exports.AbstractPlugin = AbstractPlugin;