diff options
| author | Micha White <botahamec@outlook.com> | 2022-09-25 22:56:19 -0400 |
|---|---|---|
| committer | Micha White <botahamec@outlook.com> | 2022-09-25 22:56:19 -0400 |
| commit | 20815949e86e82a97529432d8a6d1e425354afaa (patch) | |
| tree | a24dd326d2c4d9d7f57efbfdff4384317ff324be /src | |
| parent | def2ebb3df0e4aee106e8ec242c994c7bcdd429f (diff) | |
Removed a couple things
Diffstat (limited to 'src')
| -rw-r--r-- | src/camera.rs | 4 |
1 files changed, 1 insertions, 3 deletions
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() } |
