poly-extrude 0.20.1 → 0.20.2

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * poly-extrude v0.20.1
2
+ * poly-extrude v0.20.2
3
3
  */
4
4
  (function (global, factory) {
5
5
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
@@ -2564,9 +2564,10 @@
2564
2564
  const rad1 = Math.atan2(dy1, dx1);
2565
2565
  const angle1 = radToDeg(rad1);
2566
2566
  // 平行,回头路
2567
- if ((Math.abs(angle1 - angle) - 180) <= 0.0001) {
2567
+ if (Math.abs(Math.abs(angle1 - angle) - 180) <= 0.0001) {
2568
2568
  rAngle = angle;
2569
2569
  rAngle -= 90;
2570
+ console.log();
2570
2571
  }
2571
2572
  else {
2572
2573
  TEMPV1.x = p0[0] - p1[0];