Explorar o código

Update BufferGeometryUtils.js

Clean up.
Michael Herzog %!s(int64=3) %!d(string=hai) anos
pai
achega
f2294abe4f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 
 		}