diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-06-03 12:11:46 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-06-03 12:11:46 +0200 |
commit | 2d09c043328b63e2d1fa7c3c3eefeef4af590dd8 (patch) | |
tree | 0c7e5ba722c233634963ecdc0019bce8e779f4bf /opentrack | |
parent | b11b87fd5f48dbcf783e298b9e2dd9a4dde9838f (diff) |
main: pass -Wall
Diffstat (limited to 'opentrack')
-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]); |