From 0afa923678e3fbc1541af59994e96f6bd0142246 Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Fri, 6 Dec 2024 14:18:48 +0100 Subject: [PATCH] chore(1): Invert rotation direction --- src/1_model.glsl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/1_model.glsl b/src/1_model.glsl index 21c6a33..1af8dfe 100644 --- a/src/1_model.glsl +++ b/src/1_model.glsl @@ -29,6 +29,8 @@ mat4 model(bool is_moon, float time) float r = 2.0; float full_rotation = 2 * M_PI; float theta = full_rotation * time / 4.0; + // Invert rotation + theta = -theta; float x = r * cos(theta); float z = r * sin(theta);