new characters and anim blending
[carveJwlIkooP6JGAAIwe30JlM.git] / model.h
diff --git a/model.h b/model.h
index a1bf8ec24b70aa358abbe7f451c0cc20f196e7d3..648554118ea613aedabd18582a301fbe3ef330b1 100644 (file)
--- a/model.h
+++ b/model.h
@@ -69,6 +69,12 @@ struct glmesh
    u32 indice_count;
 };
 
+#define VERTEX_STANDARD_ATTRIBUTES                    \
+       "layout (location=0) in vec3 a_co;"                \
+   "layout (location=1) in vec3 a_norm;"              \
+   "layout (location=2) in vec4 a_colour;"            \
+   "layout (location=3) in vec2 a_uv;"
+
 static void mesh_upload( glmesh *mesh,
       model_vert *verts, u32 vert_count,
       u32 *indices, u32 indice_count )