Browse Source

Remove unnecessary argument

Garrett Johnson 5 năm trước cách đây
mục cha
commit
758ca6f529
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/three/TilesRenderer.js

+ 1 - 1
src/three/TilesRenderer.js

@@ -105,7 +105,7 @@ export class TilesRenderer extends TilesRendererBase {
 
 		if ( raycaster.firstHitOnly ) {
 
-			const hit = raycastTraverseFirstHit( this.root, this.group, this.activeSet, raycaster, intersects );
+			const hit = raycastTraverseFirstHit( this.root, this.group, this.activeSet, raycaster );
 			if ( hit ) {
 
 				intersects.push( hit );