提交 9796f88f 编写于 作者: Z zhaoy

remove unnecessary calculation in Vector3.project

上级 f2a52bcf
......@@ -318,7 +318,7 @@ Object.assign( Vector3.prototype, {
return function project( camera ) {
matrix.multiplyMatrices( camera.projectionMatrix, matrix.getInverse( camera.matrixWorld ) );
matrix.multiplyMatrices( camera.projectionMatrix, camera.matrixWorldInverse );
return this.applyMatrix4( matrix );
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册