aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2022-09-11 13:54:51 -0500
committerjvech <jmvalenciae@unal.edu.co>2022-09-11 13:54:51 -0500
commit86c7bdee944ce2f60d63124e9ddb76198ddbc676 (patch)
treeb15a18f9439f11a92de94bf3be16c736a8c927ed /src/main.h
parentab2160bdd347f4cd827835f1687437d25fae94c6 (diff)
learn: 14. Materials learnopengl book
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main.h b/src/main.h
index d93f941..13b7b28 100644
--- a/src/main.h
+++ b/src/main.h
@@ -1,6 +1 @@
-typedef struct {
- float pos[3];
- float color[3];
-} vertex;
-
-enum AXIS {X_AXIS, Y_AXIS, Z_AXIS};
+#define vec3(x, y, z) linearVec3(x, y, z).vector
Feel free to download, copy and edit any repo