瀏覽代碼

Exampels: Fix copy/paste error

Mugen87 7 年之前
父節點
當前提交
c0e5d2504a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 );