diff options
| -rw-r--r-- | tracker-pt/ftnoir_tracker_pt.cpp | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp index fa3fbb46..ded61e5e 100644 --- a/tracker-pt/ftnoir_tracker_pt.cpp +++ b/tracker-pt/ftnoir_tracker_pt.cpp @@ -66,6 +66,10 @@ bool Tracker_PT::get_focal_length(f& ret)      const bool res = camera.get_info(info);      if (res)      { +        using std::tan; +        using std::atan; +        using std::sqrt; +          const int w = info.res_x, h = info.res_y;          const double diag = sqrt(1. + h/(double)w * h/(double)w);          const double diag_fov = static_cast<int>(s.fov) * pi / 180.; | 
