Przeglądaj źródła

Update BufferGeometryUtils.js

Clean up.
Michael Herzog 3 lat temu
rodzic
commit
f2294abe4f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      examples/jsm/utils/BufferGeometryUtils.js

+ 1 - 1
examples/jsm/utils/BufferGeometryUtils.js

@@ -70,7 +70,7 @@ function computeTangents( geometry, negateSign = true ) {
 
 		for ( let i = 3; i < tangents.length; i += 4 ) {
 
-			tangents[ i ] *= -1;
+			tangents[ i ] *= - 1;
 
 		}