summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/progs/quake/model.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sdl/progs/quake/model.h')
-rw-r--r--apps/plugins/sdl/progs/quake/model.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/plugins/sdl/progs/quake/model.h b/apps/plugins/sdl/progs/quake/model.h
index 899010f0fb..aa034f958c 100644
--- a/apps/plugins/sdl/progs/quake/model.h
+++ b/apps/plugins/sdl/progs/quake/model.h
@@ -49,6 +49,16 @@ typedef struct
49 vec3_t position; 49 vec3_t position;
50} mvertex_t; 50} mvertex_t;
51 51
52typedef struct
53{
54 int position[3];
55} mvertex_fxp_t;
56
57typedef struct
58{
59 vec3_FPM_t position;
60} mvertex_FPM_t;
61
52#define SIDE_FRONT 0 62#define SIDE_FRONT 0
53#define SIDE_BACK 1 63#define SIDE_BACK 1
54#define SIDE_ON 2 64#define SIDE_ON 2
@@ -331,6 +341,10 @@ typedef struct model_s
331 341
332 int numvertexes; 342 int numvertexes;
333 mvertex_t *vertexes; 343 mvertex_t *vertexes;
344
345#ifdef USE_PQ_OPT2
346 mvertex_fxp_t *vertexes_fxp;
347#endif
334 348
335 int numedges; 349 int numedges;
336 medge_t *edges; 350 medge_t *edges;