diff options
| author | LLLL Colonq <llll@colonq> | 2024-10-13 23:46:06 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2024-10-13 23:46:06 -0400 |
| commit | 3efd3026d22c71e95a853985f3f50f52147d287e (patch) | |
| tree | 86d6e50f41cf389089ac24e1c83d2b28f60922d9 /src/lib.rs | |
| parent | b86e6259278892b85aa07da4b98e2d7daf807e21 (diff) | |
Instanced rendering, mouse move event
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -81,6 +81,9 @@ where winit::event::WindowEvent::Focused(false) => { st.keys = state::Keys::new(); }, + winit::event::WindowEvent::CursorMoved { position, ..} => { + st.mouse_moved(&ctx, position.x as f32, position.y as f32, game); + }, winit::event::WindowEvent::MouseInput { button, state, |
