]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
changed rtlight compiled cluster list/pvs to leaf list/pvs to enable slightly more...
[xonotic/darkplaces.git] / client.h
index 93a35e1ce72ea829dcfa9702ea7f280aaa94963b..5164516749d16f0053213476d4515ebf8d35eab5 100644 (file)
--- a/client.h
+++ b/client.h
@@ -141,10 +141,13 @@ typedef struct rtlight_s
        shadowmesh_t *static_meshchain_shadow;
        shadowmesh_t *static_meshchain_light;
        // used for visibility testing (more exact than bbox)
-       int static_numclusters;
-       int static_numclusterpvsbytes;
-       int *static_clusterlist;
-       qbyte *static_clusterpvs;
+       int static_numleafs;
+       int static_numleafpvsbytes;
+       int *static_leaflist;
+       qbyte *static_leafpvs;
+       // surfaces seen by light
+       int static_numsurfaces;
+       int *static_surfacelist;
 }
 rtlight_t;