diff options
author | Wilrik de Loose <wilrik@wilrik.nl> | 2007-12-14 12:24:12 (GMT) |
---|---|---|
committer | Wilrik de Loose <wilrik@wilrik.nl> | 2007-12-14 12:24:12 (GMT) |
commit | dbc6530ef4b5a5ce4284b0cb32e2f61677b47b18 (patch) | |
tree | a5f54b566e9c4b7fe34edb7ef0a271fa56bb8d2b /Smoke/funcs.h | |
parent | 9aaa000d79789033ea531c7d2c140fee1283305c (diff) | |
download | 2iv35-dbc6530ef4b5a5ce4284b0cb32e2f61677b47b18.zip 2iv35-dbc6530ef4b5a5ce4284b0cb32e2f61677b47b18.tar.gz 2iv35-dbc6530ef4b5a5ce4284b0cb32e2f61677b47b18.tar.bz2 |
Diffstat (limited to 'Smoke/funcs.h')
-rw-r--r-- | Smoke/funcs.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Smoke/funcs.h b/Smoke/funcs.h index f21011f..f5720a1 100644 --- a/Smoke/funcs.h +++ b/Smoke/funcs.h @@ -1,14 +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 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 quake_root(float number);
float vec_len(float x, float y);
#endif
|