]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - portals.h
Makefiles cleanups: r_explosion.o was declared twice in all Makefiles; removed some...
[xonotic/darkplaces.git] / portals.h
index 80f88a11ae5b2de3708b5a908d7d3f1a339f8abb..25d8d3ceaa8363b32d5f4c9768da8d87a379ae7b 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, qbyte *leafmark, qbyte *surfacemark, const mplane_t *frustumplanes, int numfrustumplanes, int exact, float radius);
+
+#endif
+