| 915 | } |
| 916 | } |
| 917 | |
| 918 | fn zoom_at_cursor(&mut self, scroll_y: f32, viewport: DVec2, zoom_x: bool, zoom_y: bool) { |
| 919 | let zoom_factor = if scroll_y > 0.0 { 0.95 } else { 1.05 }; |
| 920 | |
| 921 | let cursor_render_before = self.camera.screen_to_render( |
| 922 | DVec2::new(self.cursor_position.x as f64, self.cursor_position.y as f64), |
| 923 | viewport, |
| 924 | ); |
nothing calls this directly
no outgoing calls
no test coverage detected