Ver Fonte

CatmullRomCurve3: .closed is false instead of undefined by default

Joshua Koo há 9 anos atrás
pai
commit
9eaf8ff368
1 ficheiros alterados com 1 adições e 0 exclusões
  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 */ ) {
 		function ( p /* array of Vector3 */ ) {
 
 
 			this.points = p || [];
 			this.points = p || [];
+			this.closed = false;
 
 
 		},
 		},