mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
计算。
This commit is contained in:
parent
6e80f5481c
commit
8ac46baffe
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user