summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_tracker.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-09-22 14:23:03 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-09-22 14:25:28 +0200
commit76bd17e3c095e2379daf893427cb3d9d277a064e (patch)
tree44451ebce5c6988597ec098f9a4cdd502b7c0c8d /tracker-pt/point_tracker.cpp
parent0a537e04b9b5fb38ea21cc71af78698afb98ff88 (diff)
tracker/pt: add color extraction modes
Diffstat (limited to 'tracker-pt/point_tracker.cpp')
-rw-r--r--tracker-pt/point_tracker.cpp4
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)
{