Define earth radius as double, as our calculations relying on it need double precision.

This commit is contained in:
Lorenz Meier
2014-06-29 11:27:43 +02:00
parent 336fc2fcf5
commit 91bba668f6
@@ -8,8 +8,8 @@
#define rad2deg 57.295780f
#define pi 3.141592657f
#define earthRate 0.000072921f
#define earthRadius 6378145.0f
#define earthRadiusInv 1.5678540e-7f
#define earthRadius 6378145.0
#define earthRadiusInv 1.5678540e-7
class Vector3f
{