2
0
Эх сурвалжийг харах

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

Matrix3: Remove superfluous  copy.
Mr.doob 4 жил өмнө
parent
commit
3956825d15
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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();
 
 	}