Browse Source

Docs: Clean up.

Mugen87 5 years ago
parent
commit
386ad67959

+ 1 - 1
docs/manual/en/introduction/How-to-update-things.html

@@ -73,7 +73,7 @@ var drawCount = 2; // draw the first 2 points, only
 geometry.setDrawRange( 0, drawCount );
 
 // material
-var material = new THREE.LineBasicMaterial( { color: 0xff0000, linewidth: 2 } );
+var material = new THREE.LineBasicMaterial( { color: 0xff0000 } );
 
 // line
 var line = new THREE.Line( geometry,  material );

+ 1 - 1
docs/manual/zh/introduction/How-to-update-things.html

@@ -69,7 +69,7 @@ var drawCount = 2; // draw the first 2 points, only
 geometry.setDrawRange( 0, drawCount );
 
 // material
-var material = new THREE.LineBasicMaterial( { color: 0xff0000, linewidth: 2 } );
+var material = new THREE.LineBasicMaterial( { color: 0xff0000 } );
 
 // line
 var line = new THREE.Line( geometry,  material );