]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/proptest.cpp
Fixed a bug where a structural to Body frame conversion was being doen twice for...
[flightgear.git] / src / FDM / YASim / proptest.cpp
index 81955b5a882912a4306a7b1143807e8978189cb8..9bdadef9cc67c6ebf0f70ae6b419eb7e4d68389e 100644 (file)
@@ -5,8 +5,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include <simgear/math/SGMath.hxx>
-
 #include "Math.hpp"
 #include "FGFDM.hpp"
 #include "PropEngine.hpp"
@@ -26,8 +24,8 @@ bool fgSetString(char const * name, char const * str) { return false; }
 SGPropertyNode* fgGetNode (const char * path, bool create) { return 0; }
 SGPropertyNode* fgGetNode (const char * path, int i, bool create) { return 0; }
 float fgGetFloat (const char * name, float defaultValue) { return 0; }
-float fgGetDouble (const char * name, double defaultValue) { return 0; }
-float fgSetDouble (const char * name, double defaultValue) { return 0; }
+double fgGetDouble (const char * name, double defaultValue) { return 0; }
+bool fgSetDouble (const char * name, double defaultValue) { return false; }
 
 static const float KTS2MPS = 0.514444444444;
 static const float RPM2RAD = 0.10471975512;