commit ca8024c939baf2d72efac3bdcf0a64bceb8cf155
parent 74c3c6f0f54d9ae8cb818e128d4a5923cab16861
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 12 Jan 2018 15:29:17 +0100
Add 4 generic vertex attributes
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/s2d.h b/src/s2d.h
@@ -58,6 +58,10 @@
enum s2d_attrib_usage {
S2D_POSITION, /* World space position */
+ S2D_ATTRIB_0, /* Generic attrib 0 */
+ S2D_ATTRIB_1, /* Generic attrib 1 */
+ S2D_ATTRIB_2, /* Generic attrib 2 */
+ S2D_ATTRIB_3, /* Generic attrib 3 */
S2D_ATTRIBS_COUNT__,
/* Unormalized world space face normal. For line segments, the outward
* orientation is defined with respect to the Clock Wise vertex ordering */