Browse Source

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

Matrix3: Remove superfluous  copy.
Mr.doob 4 years ago
parent
commit
3956825d15
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/math/Matrix3.js

+ 1 - 1
src/math/Matrix3.js

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