summaryrefslogtreecommitdiff
path: root/src/block.h
diff options
context:
space:
mode:
authorAaditya Dhruv <[email protected]>2026-01-25 15:10:37 -0600
committerAaditya Dhruv <[email protected]>2026-01-25 15:10:37 -0600
commit118980e02e59ff31871df59dce257075394f3533 (patch)
tree26fba4492bb4b561d21bf49b35d892a821d54fab /src/block.h
parent0e6e1245b70df4dfcba135d50e1b53d1a8ef7eb8 (diff)
wip
Diffstat (limited to 'src/block.h')
-rw-r--r--src/block.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/block.h b/src/block.h
new file mode 100644
index 0000000..46607b4
--- /dev/null
+++ b/src/block.h
@@ -0,0 +1,13 @@
+#pragma once
+#include "cglm/types.h"
+#include "glad/glad.h"
+struct block {
+ vec3 coords;
+ int type;
+ GLuint _vao;
+ GLuint _vbo1;
+ GLuint _vbo2;
+ GLuint _ebo;
+};
+int block_init(vec3 pos, struct block* blk);
+int block_draw(struct block* blk);