]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
more refactoring of q1bsp rendering
[xonotic/darkplaces.git] / model_brush.h
index ddc4082a15d99b0827bebd97aaf2ae0e6972ea0e..ffb3105a265094b15fe87bfebe7265d6af36f7e0 100644 (file)
@@ -271,8 +271,9 @@ typedef struct mportal_s
        struct mportal_s *next; // the next portal on this leaf
        mleaf_t *here; // the leaf this portal is on
        mleaf_t *past; // the leaf through this portal (infront)
-       mvertex_t *points;
        int numpoints;
+       mvertex_t *points;
+       vec3_t mins, maxs; // culling
        mplane_t plane;
        int visframe; // is this portal visible this frame?
 }