Explorar o código

fix LGTM issues

Garrett Johnson %!s(int64=5) %!d(string=hai) anos
pai
achega
26487d50d5
Modificáronse 2 ficheiros con 1 adicións e 2 borrados
  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 );