diff options
Diffstat (limited to 'tracker-pt/pt-api.cpp')
-rw-r--r-- | tracker-pt/pt-api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/pt-api.cpp b/tracker-pt/pt-api.cpp index d86ef0c6..298f405a 100644 --- a/tracker-pt/pt-api.cpp +++ b/tracker-pt/pt-api.cpp @@ -7,7 +7,7 @@ pt_camera_info::pt_camera_info() { } -double pt_camera_info::get_focal_length() const +double pt_camera_info::get_focal_length(f fov, int res_x, int res_y) { const double diag_len = std::sqrt(double(res_x*res_x + res_y*res_y)); const double aspect_x = res_x / diag_len; |