From 20815949e86e82a97529432d8a6d1e425354afaa Mon Sep 17 00:00:00 2001 From: Micha White Date: Sun, 25 Sep 2022 22:56:19 -0400 Subject: Removed a couple things --- src/camera.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/camera.rs') diff --git a/src/camera.rs b/src/camera.rs index b594b0f..2a2a2e6 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -48,7 +48,7 @@ impl Camera { pub fn set_position(&mut self, x: f32, y: f32) { debug_assert!( x <= 1000.0 && y <= 1000.0, - "The x-position of the camera is ({}, {}), which is too large. \ + "The position of the camera is ({}, {}), which is too large. \ Please keep both the x and y positions below 1000 units. \ Otherwise, everything will look crazy. \ For an explanation, see https://www.youtube.com/watch?v=Q2OGwnRik24", @@ -98,8 +98,6 @@ impl Camera { 0.0, 0.0, 0.0, 1.0 ); - self.rotation += 0.01; - let transform = projection_matrix * view_matrix; transform.into() } -- cgit v1.2.3