diff options
Diffstat (limited to 'rotord/utils.h')
| -rw-r--r-- | rotord/utils.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/rotord/utils.h b/rotord/utils.h index c0c9752..3859afe 100644 --- a/rotord/utils.h +++ b/rotord/utils.h @@ -1,7 +1,10 @@ #include <cmath> +#define FLOAT_THRESHOLD .001f + //float equality bool fequal(const float u,const float v); -bool flessorequal(const float u,const float v); -bool fmoreorequal(const float u,const float v); +bool fless_or_equal(const float u,const float v); +bool fgreater_or_equal(const float u,const float v); bool fless(const float u,const float v); +bool fgreater(const float u,const float v); |
