]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - portals.h
reimplemented rtlight portal culling (used for compiled rtlights, and can be used...
[xonotic/darkplaces.git] / portals.h
index 80f88a11ae5b2de3708b5a908d7d3f1a339f8abb..416e431e55a2f1eea14cab146fafa3e98920dc3c 100644 (file)
--- a/portals.h
+++ b/portals.h
@@ -1,3 +1,10 @@
 
+#ifndef PORTALS_H
+#define PORTALS_H
+
 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, qbyte *leafpvs, int *numleafspointer, int *surfacelist, qbyte *surfacepvs, int *numsurfacespointer, const mplane_t *frustumplanes, int numfrustumplanes, int exact, const float *boxmins, const float *boxmaxs, float *updateleafsmins, float *updateleafsmaxs);
+
+#endif
+