aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2022-08-29 09:12:18 -0500
committerjvech <jmvalenciae@unal.edu.co>2022-08-29 09:12:18 -0500
commitd7bd9a3dbd3486a4b0615dc9f30a890ff6d04ec6 (patch)
tree4d4e2a4770fae453a6ac541931216d5e353102b9 /src/main.h
parent3b24a477cf566296aa758058aaca96cf0c117141 (diff)
feat: 3D support added
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main.h b/src/main.h
index e4fc1ee..d93f941 100644
--- a/src/main.h
+++ b/src/main.h
@@ -1,4 +1,6 @@
-struct Background {
- float R, G, B, A;
-};
+typedef struct {
+ float pos[3];
+ float color[3];
+} vertex;
+enum AXIS {X_AXIS, Y_AXIS, Z_AXIS};
Feel free to download, copy and edit any repo