Fixed few warnings

This commit is contained in:
Lukas Matena committed 2020-05-26 16:06:11 +02:00
1 parent 3e855d36dc
commit 32a353058f
11 files changed
+44 -58

No files matched your search

-3
View File
@@ -425,9 +425,6 @@ double Camera::calc_zoom_to_bounding_box_factor(const BoundingBoxf3& box, double
if ((dx <= 0.0) || (dy <= 0.0))
return -1.0f;
double med_x = 0.5 * (max_x + min_x);
double med_y = 0.5 * (max_y + min_y);
dx *= margin_factor;
dy *= margin_factor;