summaryrefslogtreecommitdiff
path: root/rotord/utils.cpp
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-07-26 22:46:00 +0100
committerComment <tim@gray.(none)>2013-07-26 22:46:00 +0100
commit3d7eea02aa7a155b84c8c74ecbfd55a1941a9297 (patch)
treed49d6ac97a0df08f5ea7e6c6c291acca0f65cd12 /rotord/utils.cpp
parent7092eaaae3e844a68804b8a6b6825381e9a81443 (diff)
tidy files
Diffstat (limited to 'rotord/utils.cpp')
-rw-r--r--rotord/utils.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/rotord/utils.cpp b/rotord/utils.cpp
deleted file mode 100644
index 9828124..0000000
--- a/rotord/utils.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
-#include "utils.h"
-
-using namespace std;
-
-//float equality
-bool fequal(const float u,const float v){
- if (abs(u-v)<FLOAT_THRESHOLD) return true;
- else return false;
-};
-bool fless_or_equal(const float u,const float v){
- //v is less or equal to u
- if (u-v>-FLOAT_THRESHOLD) return true;
- else return false;
-};
-bool fgreater_or_equal(const float u,const float v){
- //v is more or equal to u
- if (v-u>-FLOAT_THRESHOLD) return true;
- else return false;
-};
-bool fless(const float u,const float v){
- //v is less than u
- if (u-v>FLOAT_THRESHOLD) return true;
- else return false;
-};
-bool fgreater(const float u,const float v){
- //v is greater than u
- if (v-u>FLOAT_THRESHOLD) return true;
- else return false;
-};