void GlobalCameraManager::onFreelookMoveDownKey(ui::KeyEventType eventType) { CamWndPtr camWnd = getActiveCamWnd(); if (camWnd == NULL) return; if (eventType == ui::KeyPressed) { camWnd->getCamera().setMovementFlags(MOVE_DOWN); } else { camWnd->getCamera().clearMovementFlags(MOVE_DOWN); } }
void GlobalCameraManager::pitchDownDiscrete(const cmd::ArgumentList& args) { CamWndPtr camWnd = getActiveCamWnd(); if (camWnd == NULL) return; camWnd->getCamera().pitchDownDiscrete(); }