summaryrefslogtreecommitdiff
path: root/math.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-03-30 20:56:31 +0200
committerLars-Dominik Braun <lars@6xq.net>2015-05-02 21:36:45 +0200
commit83818b18a1fa1e8a00332489e31d346101b6fe9e (patch)
tree3ccd2826a1f8bb39c6b9e6f1d9f61eae520f8052 /math.h
parenta7842df438eda518325138b2207c9a898171ba47 (diff)
downloadpucket-83818b18a1fa1e8a00332489e31d346101b6fe9e.tar.gz
pucket-83818b18a1fa1e8a00332489e31d346101b6fe9e.tar.bz2
pucket-83818b18a1fa1e8a00332489e31d346101b6fe9e.zip
Another massive cleanup
Drops unused functions, fixes function visibility.
Diffstat (limited to 'math.h')
-rw-r--r--math.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/math.h b/math.h
index d6e3211..a7a658e 100644
--- a/math.h
+++ b/math.h
@@ -22,6 +22,7 @@
#include <assert.h>
#include "build/config.h"
+#include "vector.h"
#ifdef HAVE_AMDLIBM
#define REPLACE_WITH_AMDLIBM
@@ -31,6 +32,7 @@
#endif
#define clamp(a,min,max) (a > max ? max : (a < min ? min : a))
+#define EPS (1e-10)
/* Apply affine coordinate transformation
*/