summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-06-03 12:11:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-06-03 12:11:46 +0200
commit2d09c043328b63e2d1fa7c3c3eefeef4af590dd8 (patch)
tree0c7e5ba722c233634963ecdc0019bce8e779f4bf /opentrack
parentb11b87fd5f48dbcf783e298b9e2dd9a4dde9838f (diff)
main: pass -Wall
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/tracker.cpp6
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]);