This commit is contained in:
Troispoils 2024-03-03 20:07:40 +01:00
parent 443b3a319d
commit af9c782c1e
3 changed files with 19 additions and 39 deletions

View file

@ -83,7 +83,7 @@ namespace Map3DRendering.Common {
// Get the projection matrix using the same method we have used up until this point
public Matrix4 GetProjectionMatrix() {
return Matrix4.CreatePerspectiveFieldOfView(_fov, AspectRatio, 0.01f, 1000f);
return Matrix4.CreatePerspectiveFieldOfView(_fov, AspectRatio, 0.01f, 5000f);
}
// This function is going to update the direction vertices using some of the math learned in the web tutorials.