]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
changed leafface references to ints (making leaffacenum obslete) for more consistency...
[xonotic/darkplaces.git] / model_shared.h
index 43dec612066ff2ef13a7757fe05c9c36dc93b582..48491afbaec0c9aabf6bbe2db5132d7087965eec 100644 (file)
@@ -393,8 +393,7 @@ typedef struct q3mleaf_s
        int clusterindex; // -1 is not in pvs, >= 0 is pvs bit number
        int areaindex;
        int numleaffaces;
-       struct q3msurface_s **firstleafface;
-       int *firstleaffacenum;
+       int *firstleafface;
        int numleafbrushes;
        struct q3mbrush_s **firstleafbrush;
 }
@@ -482,8 +481,7 @@ typedef struct model_brushq3_s
        q3mbrush_t **data_leafbrushes;
 
        int num_leaffaces;
-       q3msurface_t **data_leaffaces;
-       int *data_leaffacenums;
+       int *data_leaffaces;
 
        int num_models;
        q3mmodel_t *data_models;