From 2d09c043328b63e2d1fa7c3c3eefeef4af590dd8 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 3 Jun 2015 12:11:46 +0200 Subject: main: pass -Wall --- opentrack/tracker.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'opentrack/tracker.cpp') 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]); -- cgit v1.2.3