From 32d3d33fea9410f3644b399454291493a02b040c Mon Sep 17 00:00:00 2001 From: frohlich Date: Wed, 31 Jan 2007 20:50:17 +0000 Subject: [PATCH] Modified Files: src/FDM/YASim/Launchbar.cpp: Olaf Flebbe: Make sure expressions stay floats. --- src/FDM/YASim/Launchbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FDM/YASim/Launchbar.cpp b/src/FDM/YASim/Launchbar.cpp index 2e978ebfd..697fa5a1b 100644 --- a/src/FDM/YASim/Launchbar.cpp +++ b/src/FDM/YASim/Launchbar.cpp @@ -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() -- 2.39.5