diff options
Diffstat (limited to 'src/game/q_shared.h')
-rw-r--r-- | src/game/q_shared.h | 5 |
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]; |