MCPcopy Create free account
hub / github.com/ddiakopoulos/polymer / on_input

Method on_input

samples/gl-debug-ui/gl-debug-ui.cpp:164–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162void sample_gl_debug_ui::on_window_resize(int2 size) {}
163
164void sample_gl_debug_ui::on_input(const app_input_event & event)
165{
166 int width, height;
167 glfwGetWindowSize(window, &width, &height);
168 cam.handle_input(event);
169 gizmo->handle_input(event);
170 imgui->update_input(event);
171}
172
173void sample_gl_debug_ui::on_update(const app_update_event & e)
174{

Callers

nothing calls this directly

Calls 2

update_inputMethod · 0.80
handle_inputMethod · 0.45

Tested by

no test coverage detected