]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_backend.h
added R_ScrollTexCoord2f (copies while texture coordinates with an offset)
[xonotic/darkplaces.git] / gl_backend.h
index 72acc7b2eb0bb311e31e432cc53f9c26a4fba6de..83125962ba5c081d161ef583c2be19bd130f34e9 100644 (file)
@@ -92,6 +92,8 @@ void R_Mesh_CopyVertex3f(const float *vertex3f, int numverts);
 void R_Mesh_CopyTexCoord2f(int tmu, const float *texcoord2f, int numverts);
 // copies a color4f array into varray_color4f
 void R_Mesh_CopyColor4f(const float *color4f, int numverts);
+// copies a texcoord2f array into another array, with scrolling
+void R_ScrollTexCoord2f (float *out2f, const float *in2f, int numverts, float s, float t);
 
 // saves a section of the rendered frame to a .tga or .jpg file
 qboolean SCR_ScreenShot(char *filename, int x, int y, int width, int height, qboolean jpeg);