diff options
Diffstat (limited to 'apps/plugins/sdl/progs/quake/mathlib.h')
-rw-r--r-- | apps/plugins/sdl/progs/quake/mathlib.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/sdl/progs/quake/mathlib.h b/apps/plugins/sdl/progs/quake/mathlib.h index b754966802..5f7ae430f1 100644 --- a/apps/plugins/sdl/progs/quake/mathlib.h +++ b/apps/plugins/sdl/progs/quake/mathlib.h | |||
@@ -19,6 +19,19 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||
19 | */ | 19 | */ |
20 | // mathlib.h | 20 | // mathlib.h |
21 | 21 | ||
22 | //Dan East: | ||
23 | #include "FixedPointMath.h" | ||
24 | |||
25 | #ifdef USE_PQ_OPT | ||
26 | typedef int fpvec3[3]; | ||
27 | #endif | ||
28 | |||
29 | typedef fixedpoint_t vec3_FPM_t[3]; | ||
30 | typedef fixedpoint8_24_t vec3_8_24FPM_t[3]; | ||
31 | typedef fixedpoint_t vec5_FPM_t[5]; | ||
32 | |||
33 | //End Dan | ||
34 | |||
22 | typedef float vec_t; | 35 | typedef float vec_t; |
23 | typedef vec_t vec3_t[3]; | 36 | typedef vec_t vec3_t[3]; |
24 | typedef vec_t vec5_t[5]; | 37 | typedef vec_t vec5_t[5]; |