瀏覽代碼

Pure annotations house cleaning: Fix CatmullRomCurve3 formatting (#24209)

* Pure annotations house cleaning: Fix CatmullRomCurve3 formatting

* Update CatmullRomCurve3.js

Co-authored-by: mrdoob <[email protected]>
Patrick Schroen 3 年之前
父節點
當前提交
72284257e4
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/extras/curves/CatmullRomCurve3.js

+ 3 - 1
src/extras/curves/CatmullRomCurve3.js

@@ -79,7 +79,9 @@ function CubicPoly() {
 //
 //
 
 
 const tmp = /*@__PURE__*/ new Vector3();
 const tmp = /*@__PURE__*/ new Vector3();
-const px = /*@__PURE__*/ new CubicPoly(), /*@__PURE__*/ py = new CubicPoly(), /*@__PURE__*/ pz = new CubicPoly();
+const px = /*@__PURE__*/ new CubicPoly();
+const py = /*@__PURE__*/ new CubicPoly();
+const pz = /*@__PURE__*/ new CubicPoly();
 
 
 class CatmullRomCurve3 extends Curve {
 class CatmullRomCurve3 extends Curve {