summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-03 23:34:40 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-11 05:42:11 +0100
commitc68a19fb8ebcbd674b3dc8fab572de1d86cd6d23 (patch)
tree399ce7ad04542a6701d07720585a5a8fdf5835a6
parent94600f2c5f234dddf826c9d6d9db91952832220a (diff)
tracker/pt: fix evil typoopentrack-2.3.11-beta2
Tracking for caps was broken. Issue: #854, #822 Reported by: @Attigliuzzo, listekcr
-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 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: