Prechádzať zdrojové kódy

Update BufferGeometryUtils.js

Clean up.
Michael Herzog 3 rokov pred
rodič
commit
f2294abe4f
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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;
 
 		}