]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
Leaktest: disable support for following target/targetname by default.
[xonotic/darkplaces.git] / model_brush.h
index d103f4543fa596a21329d24b8bc2364ebba5f8da..0c07048971f24701598428eb78a678dd7923148e 100644 (file)
@@ -48,8 +48,15 @@ mvertex_t;
 // plane_t structure
 typedef struct mplane_s
 {
-       vec3_t normal;
-       float dist;
+       union
+       {
+               struct
+               {
+                       vec3_t normal;
+                       vec_t dist;
+               };
+               vec4_t normal_and_dist;
+       };
        // for texture axis selection and fast side tests
        int type; // set by PlaneClassify()
        int signbits; // set by PlaneClassify()