summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_tracker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-pt/point_tracker.cpp')
-rw-r--r--tracker-pt/point_tracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/point_tracker.cpp b/tracker-pt/point_tracker.cpp
index 96a75ea8..4c7ca4be 100644
--- a/tracker-pt/point_tracker.cpp
+++ b/tracker-pt/point_tracker.cpp
@@ -72,7 +72,7 @@ void PointModel::set_model(settings_pt& s)
}
}
-void PointModel::get_d_order(const std::vector<vec2>& points, int* d_order, vec2 d) const
+void PointModel::get_d_order(const std::vector<vec2>& points, int* d_order, const vec2& d) const
{
// fit line to orthographically projected points
std::vector<std::pair<f,int>> d_vals;