浏览代码

modularize

Garrett Johnson 4 年之前
父节点
当前提交
6134b59edb
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      examples/jsm/lines/LineSegments2.js

+ 4 - 4
examples/jsm/lines/LineSegments2.js

@@ -83,11 +83,11 @@ LineSegments2.prototype = Object.assign( Object.create( Mesh.prototype ), {
 
 			var threshold = 0;
 			if ( 'Line2' in raycaster.params ) {
-			
-				threshold = raycaster.params.Lines2.threshold || 0.0
-			
+
+				threshold = raycaster.params.Line2.threshold || 0.0;
+
 			}
-			
+
 			var ray = raycaster.ray;
 			var camera = raycaster.camera;
 			var projectionMatrix = camera.projectionMatrix;