git-svn-id: svn://db.shs.com.ru/libs@705 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -208,8 +208,8 @@ void MouseController::mouseMoveEvent(QMouseEvent * e) {
|
||||
view->camera()->orbitZ (dx / 4.f);
|
||||
view->camera()->orbitXY(dy / 4.f);
|
||||
} else {
|
||||
view->camera()->rotateZ(dx / 4.f);
|
||||
view->camera()->rotateX(dy / 4.f);
|
||||
view->camera()->rotateZ(-dx / 4.f);
|
||||
view->camera()->rotateX(-dy / 4.f);
|
||||
}
|
||||
emit view->cameraPosChanged(view->camera()->pos());
|
||||
} else if (e->buttons().testFlag(Qt::RightButton)) {
|
||||
|
||||
Reference in New Issue
Block a user