From f4170d6bfb763ad0af4002277a37dcd1692534d5 Mon Sep 17 00:00:00 2001 From: Comment Date: Fri, 26 Jul 2013 22:46:17 +0100 Subject: tidy files --- rotord/src/utils.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 rotord/src/utils.h (limited to 'rotord/src/utils.h') diff --git a/rotord/src/utils.h b/rotord/src/utils.h new file mode 100644 index 0000000..3859afe --- /dev/null +++ b/rotord/src/utils.h @@ -0,0 +1,10 @@ +#include + +#define FLOAT_THRESHOLD .001f + +//float equality +bool fequal(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); -- cgit v1.2.3