]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/vertexformat.h
Fix and improve vertex group support
[libs/gl.git] / source / core / vertexformat.h
index 93794c353cafcb24027253ac2491cf59ef6e731b..0dbde9f9a9be825247a366cb2246fae612d8c1b3 100644 (file)
@@ -27,7 +27,14 @@ enum VertexAttribute
        NORMAL3 = 18,
        TANGENT3 = 26,
        BINORMAL3 = 34,
-       // Attributes 5 and 6 reserved for vertex groups and weights
+       GROUP1 = 40,
+       GROUP2,
+       GROUP3,
+       GROUP4,
+       WEIGHT1 = 48,
+       WEIGHT2,
+       WEIGHT3,
+       WEIGHT4,
        TEXCOORD1 = 56,
        TEXCOORD2,
        TEXCOORD3,