From cb59b8fc7f0de3c542349c56a062acc9fb7d8b17 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 30 Apr 2024 01:03:45 +0200 Subject: [PATCH] make moons orbit prograde instead of retrograde --- src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.rs b/src/commands.rs index e8a540e..6128834 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -554,7 +554,7 @@ fn spawn_entities( 0.0 }; } - absolute_pos += nature::phase_dist_to_coords(phase_radians, r); + absolute_pos += nature::phase_dist_to_coords(-phase_radians, r); } let scale = Vec3::splat(if state.is_sun { 5.0