summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-05-31 11:54:40 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-05-31 11:57:01 +0200
commit85471c49c47020fcd0eb012024682671a2cb1257 (patch)
treecf0618c57993fceb65dd32febe62cfa189d2ca9b
parent932d95195360f1c459ee1647fd862b6b33bdee05 (diff)
allow camera roll input value, for completeness
-rw-r--r--opentrack/tracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/tracker.cpp b/opentrack/tracker.cpp
index f70dd819..0b465fc4 100644
--- a/opentrack/tracker.cpp
+++ b/opentrack/tracker.cpp
@@ -98,7 +98,7 @@ void Tracker::logic()
const double off[] = {
s.camera_yaw,
s.camera_pitch,
- 0.
+ s.camera_roll
};
const rmat cam = rmat::euler_to_rmat(off);
rmat r = rmat::euler_to_rmat(&value[Yaw]);