From fd2088127b99577bcaade1fc6bbff6ab18adde29 Mon Sep 17 00:00:00 2001 From: yuni Date: Wed, 30 Oct 2024 06:47:43 +0100 Subject: [PATCH] align aurora with planetary rotation --- src/cmd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd.rs b/src/cmd.rs index 06d30c1..e63eac0 100644 --- a/src/cmd.rs +++ b/src/cmd.rs @@ -1322,7 +1322,7 @@ fn spawn_entities( }, Position::new(absolute_pos), //Rotation::default(), - Rotation::from(Quat::from_rotation_x(-90f32.to_radians())), + Rotation::from(rotation), NotShadowCaster, NotShadowReceiver, ));