Browse Source

Merge branch 'master' of https://github.com/NASA-AMMOS/3DTilesRendererJS

Garrett Johnson 5 years ago
parent
commit
7dc86f7a9f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/three/TilesRenderer.js

+ 1 - 1
src/three/TilesRenderer.js

@@ -122,7 +122,7 @@ export class TilesRenderer extends TilesRendererBase {
 
 
 		if ( raycaster.firstHitOnly ) {
 		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 ) {
 			if ( hit ) {
 
 
 				intersects.push( hit );
 				intersects.push( hit );