float *mdlmd2data_texcoords;
md2frame_t *mdlmd2data_frames;
trivertx_t *mdlmd2data_pose;
+ int *mdlmd2data_triangleneighbors;
// for Zymotic models
void *zymdata_header;
void(*Draw)(struct entity_render_s *ent);
// draw the model's sky polygons (only used by brush models)
void(*DrawSky)(struct entity_render_s *ent);
- // draw the model's shadows
- void(*DrawShadow)(struct entity_render_s *ent);
+ // draw a fake shadow for the model
+ void(*DrawFakeShadow)(struct entity_render_s *ent);
// memory pool for allocations
mempool_t *mempool;
void Mod_ClearUsed(void);
void Mod_PurgeUnused(void);
+void Mod_LoadModels(void);
extern model_t *loadmodel;
extern char loadname[32]; // for hunk tags
+int Mod_FindTriangleWithEdge(int *elements, int numtriangles, int start, int end);
+void Mod_BuildTriangleNeighbors(int *neighbors, int *elements, int numtriangles);
+
#endif // __MODEL__