aboutsummaryrefslogtreecommitdiffstats
path: root/vertex.h
diff options
context:
space:
mode:
Diffstat (limited to 'vertex.h')
-rw-r--r--vertex.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/vertex.h b/vertex.h
new file mode 100644
index 0000000..7f58ee9
--- /dev/null
+++ b/vertex.h
@@ -0,0 +1,16 @@
+/*
+ * Copyright (C) 2018 Tomasz Kramkowski <tk@the-tk.com>
+ * SPDX-License-Identifier: MIT
+ */
+#ifndef VERTEX_H
+#define VERTEX_H
+
+#include "linmath.h"
+
+struct vertex {
+ vec3 pos;
+ vec3 norm;
+ vec2 uv;
+};
+
+#endif // VERTEX_H