summaryrefslogtreecommitdiffstats
path: root/examples/solar_system/src/main.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-08-04 03:37:29 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-08-04 03:37:50 +0200
commit2ad3cff72223de7291d9c42149765c458944aacc (patch)
treeb89970237ba83f6ca3aea70ce9bf6dc7cfddcee8 /examples/solar_system/src/main.rs
parented959023e96f9e5fca66b0bc6b3b3b2e13bdc359 (diff)
downloadiced-2ad3cff72223de7291d9c42149765c458944aacc.tar.gz
iced-2ad3cff72223de7291d9c42149765c458944aacc.tar.bz2
iced-2ad3cff72223de7291d9c42149765c458944aacc.zip
Increase Earth's spin a bit in `solar_system` example
Diffstat (limited to 'examples/solar_system/src/main.rs')
-rw-r--r--examples/solar_system/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/solar_system/src/main.rs b/examples/solar_system/src/main.rs
index 1f4e642b..a4931465 100644
--- a/examples/solar_system/src/main.rs
+++ b/examples/solar_system/src/main.rs
@@ -192,7 +192,7 @@ impl<Message> canvas::Program<Message> for State {
&self.earth,
Rectangle::with_radius(Self::EARTH_RADIUS),
image::FilterMethod::Linear,
- rotation * 10.0,
+ rotation * 20.0,
1.0,
);