Garrett Johnson 5 gadi atpakaļ
vecāks
revīzija
db053aacf5

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

@@ -23,15 +23,7 @@ Line2.prototype = Object.assign( Object.create( LineSegments2.prototype ), {
 
 	constructor: Line2,
 
-	isLine2: true,
-
-	copy: function ( /* source */ ) {
-
-		// todo
-
-		return this;
-
-	}
+	isLine2: true
 
 } );
 

+ 6 - 2
examples/jsm/lines/LineMaterial.js

@@ -389,9 +389,13 @@ LineMaterial.prototype.copy = function ( source ) {
 
 	this.linewidth = source.linewidth;
 
-	this.resolution = source.resolution;
+	this.dashScale = source.dashScale;
+
+	this.dashSize = source.dashSize;
 
-	// todo
+	this.gapSize = source.gapSize;
+
+	this.resolution = source.resolution;
 
 	return this;
 

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

@@ -61,15 +61,7 @@ LineSegments2.prototype = Object.assign( Object.create( Mesh.prototype ), {
 
 		};
 
-	}() ),
-
-	copy: function ( /* source */ ) {
-
-		// todo
-
-		return this;
-
-	}
+	}() )
 
 } );
 

+ 0 - 14
examples/jsm/lines/LineSegmentsGeometry.js

@@ -250,20 +250,6 @@ LineSegmentsGeometry.prototype = Object.assign( Object.create( InstancedBufferGe
 
 		// todo
 
-	},
-
-	clone: function () {
-
-		// todo
-
-	},
-
-	copy: function ( /* source */ ) {
-
-		// todo
-
-		return this;
-
 	}
 
 } );

+ 1 - 9
examples/jsm/lines/Wireframe.js

@@ -61,15 +61,7 @@ Wireframe.prototype = Object.assign( Object.create( Mesh.prototype ), {
 
 		};
 
-	}() ),
-
-	copy: function ( /* source */ ) {
-
-		// todo
-
-		return this;
-
-	}
+	}() )
 
 } );
 

+ 1 - 9
examples/jsm/lines/WireframeGeometry2.js

@@ -24,15 +24,7 @@ WireframeGeometry2.prototype = Object.assign( Object.create( LineSegmentsGeometr
 
 	constructor: WireframeGeometry2,
 
-	isWireframeGeometry2: true,
-
-	copy: function ( /* source */ ) {
-
-		// todo
-
-		return this;
-
-	}
+	isWireframeGeometry2: true
 
 } );