]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
liquid now goes through meshqueue sorting
[xonotic/darkplaces.git] / model_brush.h
index 9d6ffc683055e4d6e12ed8d292f33b92c5ae5443..eebdc525096406495974642490a19102c5446cbb 100644 (file)
@@ -176,6 +176,8 @@ typedef struct msurface_s
        // no texcoord info (that can be generated from these)
        int                     poly_numverts;
        float           *poly_verts;
+       // the center is useful for sorting
+       float           poly_center[3];
 
        // these are regenerated every frame
        // lighting info