diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-09-26 09:49:57 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-09-26 11:22:51 +0200 |
commit | bdeeda5bc815dc66eefc1c818213141f92a41e0a (patch) | |
tree | c43b18de5b0d125d64a7cbed47688a27a919c283 /tracker-pt/point_tracker.h | |
parent | add1d5d0b01078a3a99167a65e691e2ee647f398 (diff) |
tracker/{pt,wii}: cosmetic changes only
Diffstat (limited to 'tracker-pt/point_tracker.h')
-rw-r--r-- | tracker-pt/point_tracker.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-pt/point_tracker.h b/tracker-pt/point_tracker.h index 70c7a9fc..326fb7df 100644 --- a/tracker-pt/point_tracker.h +++ b/tracker-pt/point_tracker.h @@ -46,7 +46,7 @@ struct PointModel final explicit PointModel(const pt_settings& s); void set_model(const pt_settings& s); - void get_d_order(const vec2* points, unsigned* d_order, const vec2& d) const; + static void get_d_order(const vec2* points, unsigned* d_order, const vec2& d); }; // ---------------------------------------------------------------------------- @@ -70,7 +70,7 @@ private: // the points in model order using PointOrder = std::array<vec2, 3>; - PointOrder find_correspondences(const vec2* projected_points, const PointModel &model); + static PointOrder find_correspondences(const vec2* projected_points, const PointModel &model); PointOrder find_correspondences_previous(const vec2* points, const PointModel &model, const pt_camera_info& info); // The POSIT algorithm, returns the number of iterations int POSIT(const PointModel& point_model, const PointOrder& order, f focal_length); |