Remove unused field in solar_system example

This commit is contained in:
Héctor Ramón Jiménez 2021-12-07 16:12:34 +07:00
parent 09d5726a26
commit 37c72793d0
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -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),