summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/camera.c b/src/core/camera.c
index e3e812c..cde457b 100644
--- a/src/core/camera.c
+++ b/src/core/camera.c
@@ -10,7 +10,7 @@ Camera Camera_Create(Vec3 pos, Vec3 front, Vec3 up, f32 fov) {
}
Mat4 Camera_ViewProj(Camera *c, f32 lens_height, f32 lens_width, Mat4 *out_view, Mat4 *out_proj) {
- Mat4 proj = mat4_perspective(c->fov, lens_width / lens_height, 0.1, 100.0);
+ Mat4 proj = mat4_perspective(c->fov, lens_width / lens_height, 0.1, 1000.0);
Vec3 camera_direction = vec3_add(c->position, c->front);
Mat4 view = mat4_look_at(c->position, camera_direction, c->up);
if (out_view) {