1234567891011121314151617181920212223242526272829303132 |
- 问题:点云编辑的坐标反向了。还有数据集外的漫游点全景图展示不全
- var t = e.panos[0].dataRotation.z
- n = e.panos[0].dataPosition.clone().negate();
- 变为
- var t = e.panos[0].dataRotation.z + Math.PI
- n = e.panos[0].dataPosition.clone()
- --------
- translation: r(e.position.clone().negate()),
- rotation: r((new Sn).setFromRotationMatrix(e.panoMatrix))
- 变为
- const rotQua = (new Sn()).setFromAxisAngle(new Cn(0,0,1), Math.PI)
- translation: r(e.position.clone()),
- rotation: r((new Sn).setFromRotationMatrix(e.panoMatrix).premultiply(rotQua))
- ------
- e.hoverViewport == a.mainViewport && o.updateClosestPano(e.intersectPoint
- 变为
- e.hoverViewport == a.mainViewport && o.updateClosestPano(e.intersect
- -------
- updateCube2、 updateClosestPano改了一些。
|