Skip to content

Commit

Permalink
Fix fov
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Romain committed Aug 26, 2024
1 parent 6ba5768 commit cd3e292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drawer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ void Drawer::traverse_and_collect(const EPTkey& key, std::vector<EPToctant*>& vi
int screenWidth = viewport[2];
int screenHeight = viewport[3];

float fov = 45;
float fov = 70*M_PI/180;
float slope = std::tan(fov/2.0f);

double cx = camera.x;
Expand Down

0 comments on commit cd3e292

Please sign in to comment.