Explorar o código

Merge pull request #21311 from mrdoob/Mugen87-patch-1

Matrix3: Remove superfluous  copy.
Mr.doob %!s(int64=4) %!d(string=hai) anos
pai
achega
3956825d15
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/math/Matrix3.js

+ 1 - 1
src/math/Matrix3.js

@@ -198,7 +198,7 @@ class Matrix3 {
 
 
 	getNormalMatrix( matrix4 ) {
 	getNormalMatrix( matrix4 ) {
 
 
-		return this.setFromMatrix4( matrix4 ).copy( this ).invert().transpose();
+		return this.setFromMatrix4( matrix4 ).invert().transpose();
 
 
 	}
 	}