summaryrefslogtreecommitdiff
path: root/src/camera.rs
diff options
context:
space:
mode:
authorMicha White <botahamec@outlook.com>2022-10-17 22:45:31 -0400
committerMicha White <botahamec@outlook.com>2022-10-17 22:45:31 -0400
commite017b675d96c58924071ca6c739bbd7910a2b2b4 (patch)
treed33397c25ab1f2ae4b2605324256cac8010c87eb /src/camera.rs
parent4574ec41259f42dceea4f770290d9975a8943db0 (diff)
Depth ordering
Diffstat (limited to 'src/camera.rs')
-rw-r--r--src/camera.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/camera.rs b/src/camera.rs
index 3ae33b4..e77da40 100644
--- a/src/camera.rs
+++ b/src/camera.rs
@@ -175,7 +175,7 @@ impl Camera {
let projection_matrix = Matrix4::new(
self.inverse_aspect_ratio * self.zoom, 0.0, 0.0, 0.0,
0.0, self.zoom, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0,
+ 0.0, 0.0, 1.0 / 256.0, 0.0,
0.0, 0.0, 0.0, 1.0
);