Browse Source

Remove empty copy functions from Line2 and LineSegments2

Garrett Johnson 5 years ago
parent
commit
c689244e2a
2 changed files with 2 additions and 18 deletions
  1. 1 9
      examples/js/lines/Line2.js
  2. 1 9
      examples/js/lines/LineSegments2.js

+ 1 - 9
examples/js/lines/Line2.js

@@ -18,14 +18,6 @@ THREE.Line2.prototype = Object.assign( Object.create( THREE.LineSegments2.protot
 
 
 	constructor: THREE.Line2,
 	constructor: THREE.Line2,
 
 
-	isLine2: true,
-
-	copy: function ( /* source */ ) {
-
-		// todo
-
-		return this;
-
-	}
+	isLine2: true
 
 
 } );
 } );

+ 1 - 9
examples/js/lines/LineSegments2.js

@@ -52,14 +52,6 @@ THREE.LineSegments2.prototype = Object.assign( Object.create( THREE.Mesh.prototy
 
 
 		};
 		};
 
 
-	}() ),
-
-	copy: function ( /* source */ ) {
-
-		// todo
-
-		return this;
-
-	}
+	}() )
 
 
 } );
 } );