summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMicha White <botahamec@outlook.com>2022-10-13 10:09:24 -0400
committerMicha White <botahamec@outlook.com>2022-10-13 10:09:24 -0400
commit121dc57f0962f27ab9e5da2ec05d3a1b1d97cdb2 (patch)
treea38d541ec8f7c8c23e0324b54d18ffbfa664d762 /src
parent0cb5bb79987ee60c49271e2905380500c75e762f (diff)
Rotate instances in the clockwise direction
Diffstat (limited to 'src')
-rw-r--r--src/camera.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/camera.rs b/src/camera.rs
index fb46158..edc3405 100644
--- a/src/camera.rs
+++ b/src/camera.rs
@@ -151,7 +151,6 @@ 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();