mirror of
https://github.com/xtreme8000/CavEX.git
synced 2025-01-22 09:11:55 -05:00
Move camera near plane closer to avoid clipping
This commit is contained in:
parent
b9d7cb7fe2
commit
7336dacd05
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ void camera_update(struct camera* c) {
|
|||
assert(c);
|
||||
|
||||
glm_perspective(glm_rad(gstate.config.fov),
|
||||
(float)gfx_width() / (float)gfx_height(), 0.1F,
|
||||
(float)gfx_width() / (float)gfx_height(), 0.075F,
|
||||
gstate.config.render_distance, c->projection);
|
||||
|
||||
glm_lookat((vec3) {c->x, c->y, c->z},
|
||||
|
|
Loading…
Reference in a new issue