WIP: minor refactoring

This commit is contained in:
Matthias Koefferlein 2021-08-31 22:55:04 +02:00
parent 30d896cf8b
commit c19f8187c8
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ D25ViewWidget::fit ()
m_scale_factor = 1e6;
double tfov = tan (cam_fov () / 360.0 * M_PI);
double tfovh = double (width ()) / double (height ()) * tfov;
double tfovh = aspect_ratio () * tfov;
for (unsigned int i = 0; i < 8; ++i) {