计算。

This commit is contained in:
tengge1 2019-02-22 20:22:12 +08:00
parent 6e80f5481c
commit 8ac46baffe

View File

@ -171,6 +171,10 @@ ViewHelper.prototype.onMouseDown = function (event) {
this.matrix.copy(this.mesh.matrixWorld);
// 旧projectionMatrix * modelViewMatrix
// 新translateMatrix * projectionMatrix * _modelViewMatrix
// matrixWorld =
if (this.screenXY === undefined) {
this.screenXY = new THREE.Vector3();
}