]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
colors for DrawQ_Mesh are now float rather than byte, and vertices are padded to...
[xonotic/darkplaces.git] / model_brush.h
index 26c1c15f08c22f1338a1716976b0bb678b0145c4..80756e39dbe76a30782eb1ae9525f490bd6a032c 100644 (file)
@@ -51,8 +51,7 @@ typedef struct mplane_s
        float dist;
        // for texture axis selection and fast side tests
        int type;
-       // LordHavoc: faster than id's signbits system
-       int (*BoxOnPlaneSideFunc) (vec3_t emins, vec3_t emaxs, struct mplane_s *p);
+       int signbits;
 }
 mplane_t;
 
@@ -217,7 +216,7 @@ typedef struct msurface_s
        // if lightmap was lit by dynamic lights, force update on next frame
        short cached_dlight;
        // to cause lightmap to be rerendered when v_overbrightbits changes
-       short cached_lightscalebit;
+       short cached_lightmapscalebit;
        // rerender lightmaps when r_ambient changes
        float cached_ambient;
 }