This commit is contained in:
h4570
2022-07-30 14:48:59 +02:00
parent 52a19f11a5
commit b7b32fb35a
25 changed files with 792 additions and 21 deletions
+4
View File
@@ -136,6 +136,10 @@ float Math::asin(float x) {
return r;
}
bool Math::equalf(const float& a, const float& b, const float& epsilon) {
return fabs(a - b) < epsilon;
}
float Math::mod(float x, float y) {
/*
* Portable fmod(x,y) implementation for systems