summaryrefslogtreecommitdiff
path: root/src/game/q_shared.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2001-07-25 19:51:49 +0000
committerTim Angus <tim@ngus.net>2001-07-25 19:51:49 +0000
commitede090a62f34f856e84904cad61670d5920cbc4d (patch)
treed2809d95b4c591d6722a708bc532d84e5f5599ef /src/game/q_shared.h
parentc4771d2a8707609f9908e4dcc5eb7cbb7c10ed36 (diff)
QVM based MP3 player :)
Diffstat (limited to 'src/game/q_shared.h')
-rw-r--r--src/game/q_shared.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/q_shared.h b/src/game/q_shared.h
index 895f1961..6faaced2 100644
--- a/src/game/q_shared.h
+++ b/src/game/q_shared.h
@@ -366,6 +366,11 @@ typedef int fixed16_t;
#define M_PI 3.14159265358979323846f // matches value in gcc v2 math.h
#endif
+//TA: stop telling others not to edit q_* <:)
+#ifndef M_SQRT2
+#define M_SQRT2 1.414213562f
+#endif
+
#define NUMVERTEXNORMALS 162
extern vec3_t bytedirs[NUMVERTEXNORMALS];