summaryrefslogtreecommitdiff
path: root/src/camera.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/camera.rs')
-rw-r--r--src/camera.rs4
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()
}