summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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]);