]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
eliminated color4ub vertex formats, now everything is float, this fixes color wrappin...
[xonotic/darkplaces.git] / model_shared.h
index 02c237fd529313ed02f7638c7c1c9451aed7c6b2..b79c1330fe0999c77808a46531ca390b5a137e25 100644 (file)
@@ -103,18 +103,18 @@ blendweights_t;
 
 typedef struct r_vertexgeneric_s
 {
-       // 24 bytes
+       // 36 bytes
        float vertex3f[3];
-       unsigned char color4ub[4];
+       float color4f[4];
        float texcoord2f[2];
 }
 r_vertexgeneric_t;
 
 typedef struct r_vertexmesh_s
 {
-       // 68 bytes
+       // 80 bytes
        float vertex3f[3];
-       unsigned char color4ub[4];
+       float color4f[4];
        float texcoordtexture2f[2];
        float texcoordlightmap2f[2];
        float svector3f[3];