diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-09-22 14:23:03 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-09-22 14:25:28 +0200 |
commit | 76bd17e3c095e2379daf893427cb3d9d277a064e (patch) | |
tree | 44451ebce5c6988597ec098f9a4cdd502b7c0c8d /tracker-pt/point_tracker.cpp | |
parent | 0a537e04b9b5fb38ea21cc71af78698afb98ff88 (diff) |
tracker/pt: add color extraction modes
Diffstat (limited to 'tracker-pt/point_tracker.cpp')
-rw-r--r-- | tracker-pt/point_tracker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-pt/point_tracker.cpp b/tracker-pt/point_tracker.cpp index d2620dce..ae873ef6 100644 --- a/tracker-pt/point_tracker.cpp +++ b/tracker-pt/point_tracker.cpp @@ -33,7 +33,7 @@ static void set_row(mat33& m, int i, const vec3& v) m(i,2) = v[2]; } -PointModel::PointModel(settings_pt& s) +PointModel::PointModel(const settings_pt& s) { set_model(s); // calculate u @@ -47,7 +47,7 @@ PointModel::PointModel(settings_pt& s) P = 1/(s11*s22-s12*s12) * mat22(s22, -s12, -s12, s11); } -void PointModel::set_model(settings_pt& s) +void PointModel::set_model(const settings_pt& s) { switch (s.active_model_panel) { |