瀏覽代碼

CatmullRomCurve3: .closed is false instead of undefined by default

Joshua Koo 9 年之前
父節點
當前提交
9eaf8ff368
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/extras/curves/CatmullRomCurve3.js

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

@@ -84,6 +84,7 @@ THREE.CatmullRomCurve3 = ( function() {
 		function ( p /* array of Vector3 */ ) {
 
 			this.points = p || [];
+			this.closed = false;
 
 		},