| 485 | } |
| 486 | |
| 487 | void InputController::setCameraNavigationMode(const CameraNavigationMode mode) { |
| 488 | if (camera_navigation_mode_ == mode) |
| 489 | return; |
| 490 | |
| 491 | clearViewportDragState(); |
| 492 | camera_navigation_mode_ = mode; |
| 493 | // The pivot is left untouched: orbit modes work with any pivot and FPV |
| 494 | // re-seeds it on every look drag, so switching modes must not discard a |
| 495 | // user-set pivot. |
| 496 | } |
| 497 | |
| 498 | void InputController::onWindowFocusLost() { |
| 499 | if (current_cursor_ != CursorType::Default) { |
no outgoing calls