]> icculus.org git repositories - divverent/darkplaces.git/blob - portals.h
the quadratic spline patches in quake3 maps now work (in english: curves!)
[divverent/darkplaces.git] / portals.h
1
2 #ifndef PORTALS_H
3 #define PORTALS_H
4
5 int Portal_CheckPolygon(model_t *model, vec3_t eye, float *polypoints, int numpoints);
6 int Portal_CheckBox(model_t *model, vec3_t eye, vec3_t a, vec3_t b);
7 void Portal_Visibility(model_t *model, const vec3_t eye, qbyte *leafmark, qbyte *surfacemark, const mplane_t *frustumplanes, int numfrustumplanes, int exact, float radius);
8
9 #endif
10