class Orbit {
constructor(target, dumping=10, from={ x: 0, y: 0 }, to={ x: 0, y: 0 }) {
this.__target = target
this.dumping = dumping;
this.desire_rotateZ = -to.y;
this.desire_rotateX = -to.x;
this.rz = from.y;
this.rx = from.x;
this.isDragging = false;
this.previousMousePosition = {
x: 0,
y: 0
};
this.behaviours();
}
*
回帖描述:*
链接类型:*
下载链接:*
描述:*
回帖描述:*
链接类型:*
阅读权限:*
下载链接:



聚优部落技术论坛 © 版权所有 鲁ICP备15007479号-6
Copyright(C)web.com, All Rights Reserved.
