소스 검색

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;
 
 		},