Skip to content

Commit

Permalink
Fixed broken examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Oct 28, 2014
1 parent 5ec4b1e commit ca14c79
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions examples/canvas_camera_orthographic.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@

var material = new THREE.LineBasicMaterial( { color: 0x000000, opacity: 0.2 } );

var line = new THREE.Line( geometry, material );
line.type = THREE.LinePieces;
var line = new THREE.Line( geometry, material, THREE.LinePieces );
scene.add( line );

// Cubes
Expand Down
3 changes: 1 addition & 2 deletions examples/canvas_camera_orthographic2.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@

var material = new THREE.LineBasicMaterial( { color: 0x000000, opacity: 0.2 } );

var line = new THREE.Line( geometry, material );
line.type = THREE.LinePieces;
var line = new THREE.Line( geometry, material, THREE.LinePieces );
scene.add( line );

// Cubes
Expand Down
3 changes: 1 addition & 2 deletions examples/canvas_interactive_voxelpainter.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@

var material = new THREE.LineBasicMaterial( { color: 0x000000, opacity: 0.2 } );

var line = new THREE.Line( geometry, material );
line.type = THREE.LinePieces;
var line = new THREE.Line( geometry, material, THREE.LinePieces );
scene.add( line );

//
Expand Down
3 changes: 1 addition & 2 deletions examples/webgl_interactive_voxelpainter.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@

var material = new THREE.LineBasicMaterial( { color: 0x000000, opacity: 0.2, transparent: true } );

var line = new THREE.Line( geometry, material );
line.type = THREE.LinePieces;
var line = new THREE.Line( geometry, material, THREE.LinePieces );
scene.add( line );

//
Expand Down

0 comments on commit ca14c79

Please sign in to comment.