MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / scroll_event

Method scroll_event

testbed/src/TestbedApplication.cpp:665–672  ·  view source on GitHub ↗

Handle a mouse scroll event

Source from the content-addressed store, hash-verified

663
664// Handle a mouse scroll event
665void 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}

Callers 1

startMethod · 0.80

Calls 2

onScrollEventMethod · 0.80
scrollingEventMethod · 0.80

Tested by

no test coverage detected