diff options
Diffstat (limited to 'opentrack/tracker.cpp')
-rw-r--r-- | opentrack/tracker.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/opentrack/tracker.cpp b/opentrack/tracker.cpp index f5ce5275..a9475838 100644 --- a/opentrack/tracker.cpp +++ b/opentrack/tracker.cpp @@ -96,9 +96,9 @@ void Tracker::logic() } const double off[] = { - s.camera_yaw, - s.camera_pitch, - s.camera_roll + (double)s.camera_yaw, + (double)s.camera_pitch, + (double)s.camera_roll }; const rmat cam = rmat::euler_to_rmat(off); rmat r = rmat::euler_to_rmat(&value[Yaw]); |