summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-12-07 16:12:34 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-12-07 16:12:34 +0700
commit37c72793d0af4bca73458f188b8b519394c2e17f (patch)
tree1bcb316fb17cda3f01bf944958e6a9f625e7c2f4 /examples
parent09d5726a26dbfecf2a401e9273bfca746ae852d6 (diff)
downloadiced-37c72793d0af4bca73458f188b8b519394c2e17f.tar.gz
iced-37c72793d0af4bca73458f188b8b519394c2e17f.tar.bz2
iced-37c72793d0af4bca73458f188b8b519394c2e17f.zip
Remove unused field in `solar_system` example
Diffstat (limited to 'examples')
-rw-r--r--examples/solar_system/src/main.rs2
1 files changed, 0 insertions, 2 deletions
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),