| 360 | } |
| 361 | |
| 362 | bool GameScene::KeyboardUpdate(int key, int scancode, int action, int mods) |
| 363 | { |
| 364 | if (CameraActive()) |
| 365 | m_gameCamera.KeyboardUpdate(key, scancode, action, mods); |
| 366 | |
| 367 | //if (key == GLFW_KEY_SPACE && action == GLFW_PRESS && mods == GLFW_MOD_CONTROL) |
| 368 | // m_recordCamera = true; |
| 369 | |
| 370 | if (!IsActive()) |
| 371 | return false; |
| 372 | |
| 373 | return false; |
| 374 | } |
| 375 | void GameScene::MousePosUpdate(double xpos, double ypos) |
| 376 | { |
| 377 | if (CameraActive()) |
nothing calls this directly
no outgoing calls
no test coverage detected