Skip to content

Commit

Permalink
Bump near plane slightly further from zero
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelarius committed Apr 27, 2024
1 parent 6d5462f commit be8f8fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pt/fly_camera_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ glm::mat4 FlyCameraController::viewReverseZProjectionMatrix() const
0.0f, 0.0f, 1.0f, 1.0f);
// clang-format on

const float near = 0.1f;
const float near = 0.2f;
const float far = 1000.0f;
const glm::mat4 project =
glm::perspective(mVfov.asRadians(), aspectRatio(mWindowSize), near, far);
Expand Down

0 comments on commit be8f8fe

Please sign in to comment.