Handle a mouse scroll event
| 663 | |
| 664 | // Handle a mouse scroll event |
| 665 | void TestbedApplication::scroll_event(double x, double y) { |
| 666 | |
| 667 | if (mGui.onScrollEvent(x, y)) { |
| 668 | return; |
| 669 | }; |
| 670 | |
| 671 | mCurrentScene->scrollingEvent(x, y, SCROLL_SENSITIVITY); |
| 672 | } |
no test coverage detected