Garrett Johnson hace 4 años
padre
commit
6134b59edb
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  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;
 			var threshold = 0;
 			if ( 'Line2' in raycaster.params ) {
 			if ( 'Line2' in raycaster.params ) {
-			
-				threshold = raycaster.params.Lines2.threshold || 0.0
-			
+
+				threshold = raycaster.params.Line2.threshold || 0.0;
+
 			}
 			}
-			
+
 			var ray = raycaster.ray;
 			var ray = raycaster.ray;
 			var camera = raycaster.camera;
 			var camera = raycaster.camera;
 			var projectionMatrix = camera.projectionMatrix;
 			var projectionMatrix = camera.projectionMatrix;