summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2023-11-11 19:00:10 +0200
committerkartofen <mladenovnasko0@gmail.com>2023-11-11 19:00:10 +0200
commit1e436946514f3a0e9fe3d091394db6b86e06f033 (patch)
treecddf3bb618ade66fd5bd4eacd028a7d54a760e37 /src/graphics.h
parent2a733f3d513a7279c1df4efe88fc5386ced2ed14 (diff)
.obj loading
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graphics.h b/src/graphics.h
index ff03e12..bac8300 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -15,7 +15,8 @@
typedef uint32_t u32;
typedef struct vertex {
- vec2 pos;
+ vec3 pos;
+ vec3 normal;
vec3 color;
} vertex_t;