()
| 25 | |
| 26 | impl quarkstrom::Renderer for Renderer { |
| 27 | fn new() -> Self { |
| 28 | Self { |
| 29 | pos: Vec2::zero(), |
| 30 | scale: 2.0, |
| 31 | seed: START_SEED, |
| 32 | |
| 33 | info_window_open: true, |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | fn input(&mut self, input: &WinitInputHelper, width: u16, height: u16) { |
| 38 | self.info_window_open ^= input.key_pressed(VirtualKeyCode::T); |
nothing calls this directly
no outgoing calls
no test coverage detected