Remove unused field in solar_system example
This commit is contained in:
parent
09d5726a26
commit
37c72793d0
1 changed files with 0 additions and 2 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue