]> git.mxchange.org Git - flightgear.git/commitdiff
Modified Files:
authorfrohlich <frohlich>
Wed, 31 Jan 2007 20:50:17 +0000 (20:50 +0000)
committerfrohlich <frohlich>
Wed, 31 Jan 2007 20:50:17 +0000 (20:50 +0000)
src/FDM/YASim/Launchbar.cpp: Olaf Flebbe: Make sure expressions
stay floats.

src/FDM/YASim/Launchbar.cpp

index 2e978ebfd79fe650b0de63d8c3f0e1be8377b8ea..697fa5a1b72fb91c1deba5951b352ce8a4b1c1a2 100644 (file)
@@ -7,8 +7,8 @@
 
 namespace yasim {
 
-  static const float YASIM_PI2 = 3.14159265358979323846/2;
-  static const float YASIM_PI = 3.14159265358979323846;
+  static const float YASIM_PI2 = 3.14159265358979323846f/2;
+  static const float YASIM_PI = 3.14159265358979323846f;
   static const float RAD2DEG = 180/YASIM_PI;
 
 Launchbar::Launchbar()