From 37c72793d0af4bca73458f188b8b519394c2e17f Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 7 Dec 2021 16:12:34 +0700 Subject: Remove unused field in `solar_system` example --- examples/solar_system/src/main.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'examples') diff --git a/examples/solar_system/src/main.rs b/examples/solar_system/src/main.rs index c8f74978..5f9724f3 100644 --- a/examples/solar_system/src/main.rs +++ b/examples/solar_system/src/main.rs @@ -75,7 +75,6 @@ impl Application for SolarSystem { struct State { space_cache: canvas::Cache, system_cache: canvas::Cache, - cursor_position: Point, start: Instant, now: Instant, stars: Vec<(Point, f32)>, @@ -95,7 +94,6 @@ impl State { State { space_cache: Default::default(), system_cache: Default::default(), - cursor_position: Point::ORIGIN, start: now, now, stars: Self::generate_stars(width, height), -- cgit