MCPcopy Create free account
hub / github.com/dfranx/SHADERed / OnEvent

Method OnEvent

src/SHADERed/UI/Debug/GeometryOutputUI.cpp:326–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324 DefaultState::Bind();
325 }
326 void DebugGeometryOutputUI::OnEvent(const SDL_Event& e)
327 {
328 if (e.type == SDL_MOUSEBUTTONDOWN)
329 m_mouseContact = ImVec2(e.button.x, e.button.y);
330 }
331 void DebugGeometryOutputUI::Update(float delta)
332 {
333 // update VBOs

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected