aboutsummaryrefslogtreecommitdiffstats
path: root/vertex.h
diff options
context:
space:
mode:
Diffstat (limited to 'vertex.h')
-rw-r--r--vertex.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/vertex.h b/vertex.h
index 7f58ee9..93521ac 100644
--- a/vertex.h
+++ b/vertex.h
@@ -8,9 +8,8 @@
#include "linmath.h"
struct vertex {
- vec3 pos;
- vec3 norm;
- vec2 uv;
+#define SH_IN(type, name) type name;
+#include "shaders/data.h"
};
#endif // VERTEX_H