From 03c8d6ebb157a31df1f62e5b8200bd7ad2d31a76 Mon Sep 17 00:00:00 2001 From: "rhyskidd@gmail.com" Date: Mon, 16 Jul 2012 16:01:12 +0000 Subject: PVS-Studio fix: V624 The constant 3.1415 is being utilized. The resulting value could be inaccurate. Consider using the M_PI constant from . mission.cpp 1203 --- Stars45/Mission.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45') diff --git a/Stars45/Mission.cpp b/Stars45/Mission.cpp index 8d35812..777f78c 100644 --- a/Stars45/Mission.cpp +++ b/Stars45/Mission.cpp @@ -1200,7 +1200,7 @@ Mission::ParseRLoc(TermStruct* val) double dex = 0; double dex_var = 5e3; double az = 0; - double az_var = 3.1415; + double az_var = PI; double el = 0; double el_var = 0.1; -- cgit v1.1