浏览代码

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

Matrix3: Remove superfluous  copy.
Mr.doob 4 年之前
父节点
当前提交
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();
 
 	}