From 0cb5bb79987ee60c49271e2905380500c75e762f Mon Sep 17 00:00:00 2001 From: Micha White Date: Thu, 13 Oct 2022 10:04:30 -0400 Subject: Tested rotation --- src/camera.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/camera.rs b/src/camera.rs index edc3405..fb46158 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -151,6 +151,7 @@ impl Camera { #[allow(clippy::wrong_self_convention)] fn to_matrix(&self) -> CameraUniform { + // TODO why do the camera and instances rotate in different directions? let cos = self.rotation.cos(); let sin = self.rotation.sin(); -- cgit v1.2.3