summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-03 23:34:40 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:20 +0100
commit1c6cd08adc81bc6522014621c2657547773d0a36 (patch)
tree0631d053f953bed8f71a6404ebdf2f8576a47f5d /tracker-pt
parentae3e4ce238099dc43d3e013760195903142c1028 (diff)
tracker/pt: fix evil typo
Tracking for caps was broken. Issue: #854, #822 Reported by: @Attigliuzzo, listekcr
Diffstat (limited to 'tracker-pt')
-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 5de1ae33..13d1ab79 100644
--- a/tracker-pt/point_tracker.cpp
+++ b/tracker-pt/point_tracker.cpp
@@ -55,7 +55,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: