]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
Added animation caching, which speeds up re-renders of all animated meshes
[xonotic/darkplaces.git] / client.h
index 695818f309b85cac92408d6273a31f30361d913b..4992adad087c561a367bf64375dcacacf9d19528 100644 (file)
--- a/client.h
+++ b/client.h
@@ -301,6 +301,9 @@ typedef struct entity_render_s
        // subframe numbers (-1 if not used) and their blending scalers (0-1), if interpolation is not desired, use subframeblend[0].subframe
        frameblend_t frameblend[MAX_FRAMEBLENDS];
 
+       // animation cache index
+       int animcacheindex;
+
        // current lighting from map (updated ONLY by client code, not renderer)
        vec3_t modellight_ambient;
        vec3_t modellight_diffuse; // q3bsp