]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - portals.h
fix q1bsp detection of stuck entities (needed some more parentheses)
[xonotic/darkplaces.git] / portals.h
index 02e7642c30fddb1762e8064b5f0e4f2e03052490..1c5fecd549c896acef967350b1a2b49d95a8c5fa 100644 (file)
--- a/portals.h
+++ b/portals.h
@@ -4,6 +4,7 @@
 
 int Portal_CheckPolygon(model_t *model, vec3_t eye, float *polypoints, int numpoints);
 int Portal_CheckBox(model_t *model, vec3_t eye, vec3_t a, vec3_t b);
+void Portal_Visibility(model_t *model, const vec3_t eye, int *leaflist, unsigned char *leafpvs, int *numleafspointer, int *surfacelist, unsigned char *surfacepvs, int *numsurfacespointer, const mplane_t *frustumplanes, int numfrustumplanes, int exact, const float *boxmins, const float *boxmaxs, float *updateleafsmins, float *updateleafsmaxs);
 
 #endif