diff options
author | Wilrik de Loose <wilrik@wilrik.nl> | 2007-12-14 08:35:25 (GMT) |
---|---|---|
committer | Wilrik de Loose <wilrik@wilrik.nl> | 2007-12-14 08:35:25 (GMT) |
commit | 5601182e9456b3d4d782f135c8b151f5d9b021cd (patch) | |
tree | fe9e06a8a0f572dad622e8887732796a725887fe /Smoke/funcs.h | |
parent | 2b49eb5eb684537c19d9f0eabdffad0ffcf196ac (diff) | |
download | 2iv35-5601182e9456b3d4d782f135c8b151f5d9b021cd.zip 2iv35-5601182e9456b3d4d782f135c8b151f5d9b021cd.tar.gz 2iv35-5601182e9456b3d4d782f135c8b151f5d9b021cd.tar.bz2 |
glyphs apart in een file gestopt
Diffstat (limited to 'Smoke/funcs.h')
-rw-r--r-- | Smoke/funcs.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Smoke/funcs.h b/Smoke/funcs.h new file mode 100644 index 0000000..f21011f --- /dev/null +++ b/Smoke/funcs.h @@ -0,0 +1,14 @@ +#ifndef _FUNCS_H
+#define _FUNCS_H
+ +#define max(a, b) (a > b ? a : b) +#define min(a, b) (a < b ? a : b) +#define round(x) (int)(x < 0 ? x - 0.5 : x + 0.5) + +#define FALSE 0 +#define TRUE !FALSE
+
+float square_root(float number);
+float vec_len(float x, float y);
+
+#endif
|