Explorar o código

CatmullRomCurve3: .closed is false instead of undefined by default

Joshua Koo %!s(int64=9) %!d(string=hai) anos
pai
achega
9eaf8ff368
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;
 
 		},