Browse Source

Exampels: Fix copy/paste error

Mugen87 7 years ago
parent
commit
c0e5d2504a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/canvas_lines_dashed.html

+ 1 - 1
examples/canvas_lines_dashed.html

@@ -69,7 +69,7 @@
 				var spline = new THREE.CatmullRomCurve3( points );
 				var spline = new THREE.CatmullRomCurve3( points );
 
 
 				var samples = spline.getPoints( points.length * subdivisions );
 				var samples = spline.getPoints( points.length * subdivisions );
-				var geometrySpline = new THREE.BufferGeometry().setFromPoints( samples );
+				var geometrySpline = new THREE.Geometry().setFromPoints( samples );
 
 
 				var geometryCube = cube( 50 );
 				var geometryCube = cube( 50 );