Browse Source

fix LGTM issues

Garrett Johnson 5 năm trước cách đây
mục cha
commit
26487d50d5
2 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 1
      example/index.js
  2. 0 1
      src/three/raycastTraverse.js

+ 1 - 1
example/index.js

@@ -456,7 +456,7 @@ function render() {
 
 	if ( statsContainer.innerHTML !== str ) {
 
-		statsContainer.innerHTML = str
+		statsContainer.innerHTML = str;
 
 	}
 

+ 0 - 1
src/three/raycastTraverse.js

@@ -62,7 +62,6 @@ export function raycastTraverseFirstHit( root, group, activeTiles, raycaster ) {
 		const tile = children[ i ];
 		const cached = tile.cached;
 		const groupMatrixWorld = group.matrixWorld;
-		const transformMat = cached.transform;
 
 		_mat.copy( groupMatrixWorld );