]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Math.cpp
Use bool where the source and destination variable is bool.
[flightgear.git] / src / FDM / YASim / Math.cpp
index 4662d70b2329e8ce31ddb7f5052636ecbb0d423d..c7203941c95215a8450d139c7f5669f5f5204d7d 100644 (file)
@@ -25,6 +25,16 @@ float Math::ceil(float f)
     return (float)::ceil(f);
 }
 
+float Math::acos(float f)
+{
+    return (float)::acos(f);
+}
+
+float Math::asin(float f)
+{
+    return (float)::asin(f);
+}
+
 float Math::cos(float f)
 {
     return (float)::cos(f);
@@ -40,11 +50,21 @@ float Math::tan(float f)
     return (float)::tan(f);
 }
 
+float Math::atan(float f)
+{
+    return (float)::atan(f);
+}
+
 float Math::atan2(float y, float x)
 {
     return (float)::atan2(y, x);
 }
 
+double Math::floor(double x)
+{
+    return ::floor(x);
+}
+
 double Math::abs(double f)
 {
     return ::fabs(f);
@@ -123,7 +143,6 @@ float Math::mag3(float* v)
     return sqrt(dot3(v, v));
 }
 
-
 void Math::unit3(float* v, float* out)
 {
     float imag = 1/mag3(v);