Browse Source

Exampels: Fix copy/paste error

Mugen87 7 năm trước cách đây
mục cha
commit
c0e5d2504a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 samples = spline.getPoints( points.length * subdivisions );
-				var geometrySpline = new THREE.BufferGeometry().setFromPoints( samples );
+				var geometrySpline = new THREE.Geometry().setFromPoints( samples );
 
 				var geometryCube = cube( 50 );