提交 b9c7e4aa 编写于 作者: D Dustbin

fixed multiplyVector3Array in Matrix3 and Matrix4

上级 2b4250ea
......@@ -73,7 +73,7 @@ THREE.Matrix3.prototype = {
tmp.y = a[ i + 1 ];
tmp.z = a[ i + 2 ];
this.multiplyVector3( tmp );
tmp.applyMatrix3(this);
a[ i ] = tmp.x;
a[ i + 1 ] = tmp.y;
......
......@@ -339,7 +339,7 @@ THREE.Matrix4.prototype = {
tmp.y = a[ i + 1 ];
tmp.z = a[ i + 2 ];
this.multiplyVector3( tmp );
tmp.applyMatrix4(this);
a[ i ] = tmp.x;
a[ i + 1 ] = tmp.y;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册