summaryrefslogtreecommitdiff
path: root/client/src/camera.rs
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/camera.rs')
-rw-r--r--client/src/camera.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/camera.rs b/client/src/camera.rs
index 4006c74..d2d4bda 100644
--- a/client/src/camera.rs
+++ b/client/src/camera.rs
@@ -47,7 +47,7 @@ impl Camera {
Mat3::from_euler(EulerRot::YXZ, self.rot.x, self.rot.y, self.rot.z)
}
pub fn to_matrix(&self) -> Mat4 {
- Mat4::perspective_rh(self.fov, self.aspect, 0.1, 100.)
+ Mat4::perspective_rh(self.fov, self.aspect, 0.1, 300.)
* Mat4::from_mat3(self.rotation_mat().inverse())
* Mat4::from_translation(-self.pos)
}