]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Math.hpp
Use bool where the source and destination variable is bool.
[flightgear.git] / src / FDM / YASim / Math.hpp
index 4189cd68558aab4c34aae1ad96e616e1e4f5142e..66bd6cc80a76bc61bcff280d3f1dfcc60b5bdee9 100644 (file)
@@ -12,7 +12,6 @@ public:
     // Simple wrappers around library routines
     static float abs(float f);
     static float sqrt(float f);
-    static float sqr(float f);
     static float ceil(float f);
     static float sin(float f);
     static float cos(float f);
@@ -33,6 +32,7 @@ public:
     static double cos(double f);
     static double tan(double f);
     static double atan2(double y, double x);
+    static double floor(double x);
 
     // Some 3D vector stuff.  In all cases, it is permissible for the
     // "out" vector to be the same as one of the inputs.