From c68a19fb8ebcbd674b3dc8fab572de1d86cd6d23 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 3 Jan 2019 23:34:40 +0100 Subject: tracker/pt: fix evil typo Tracking for caps was broken. Issue: #854, #822 Reported by: @Attigliuzzo, listekcr --- tracker-pt/point_tracker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracker-pt/point_tracker.cpp b/tracker-pt/point_tracker.cpp index e86e686b..63c6f47c 100644 --- a/tracker-pt/point_tracker.cpp +++ b/tracker-pt/point_tracker.cpp @@ -53,7 +53,7 @@ void PointModel::set_model(const pt_settings& s) M02 = vec3(0, -s.clip_by, -s.clip_bz); break; case Cap: - M01 = vec3(-s.cap_x, s.cap_y, -s.cap_z); + M01 = vec3(-s.cap_x, -s.cap_y, -s.cap_z); M02 = vec3(s.cap_x, -s.cap_y, -s.cap_z); break; case Custom: -- cgit v1.2.3