X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=portals.h;h=6715f796f9557ff4fee9638b29fdef0b97ec730b;hb=refs%2Fheads%2FCloudwalk%2Ffix-353;hp=80f88a11ae5b2de3708b5a908d7d3f1a339f8abb;hpb=8468ffaf8162a4fe8361127385c40141c375661d;p=xonotic%2Fdarkplaces.git diff --git a/portals.h b/portals.h index 80f88a11..6715f796 100644 --- 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, 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, unsigned char *shadowtrispvs, unsigned char *lighttrispvs, unsigned char *visitingleafpvs); + +#endif +