]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
moved waterscrollmatrix handling into texture->currentexmatrix to simplify texture...
[xonotic/darkplaces.git] / model_shared.h
index 9e8f211865ebef76ddea380199aa0fa1a2eab98e..b2b72fa6e2aa39c6b4368a5a3eb108a2e3aeb55f 100644 (file)
@@ -169,10 +169,13 @@ typedef struct texture_s
        // set if animated or there is an alternate frame set
        // (this is an optimization in the renderer)
        int animated;
+
        // the current texture frame in animation
        struct texture_s *currentframe;
        // current alpha of the texture
        float currentalpha;
+       // current texture transform matrix (used for water scrolling)
+       matrix4x4_t currenttexmatrix;
 
        // q3bsp
        char name[64];