Skip to content

Commit cd3e292

Browse files
committed
Fix fov
1 parent 6ba5768 commit cd3e292

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/drawer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ void Drawer::traverse_and_collect(const EPTkey& key, std::vector<EPToctant*>& vi
467467
int screenWidth = viewport[2];
468468
int screenHeight = viewport[3];
469469

470-
float fov = 45;
470+
float fov = 70*M_PI/180;
471471
float slope = std::tan(fov/2.0f);
472472

473473
double cx = camera.x;

0 commit comments

Comments
 (0)