summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-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 9da9fd34..1e74f2bd 100644
--- a/examples/solar_system/src/main.rs
+++ b/examples/solar_system/src/main.rs
@@ -187,7 +187,7 @@ impl<Message> canvas::Program<Message> for State {
frame.draw_image(
Rectangle::with_radius(Self::EARTH_RADIUS),
- canvas::Image::new(&self.earth).rotation(rotation * 20.0),
+ canvas::Image::new(&self.earth).rotation(-rotation * 20.0),
);
frame.rotate(rotation * 10.0);