summaryrefslogtreecommitdiff
path: root/src/junkcraft.c
diff options
context:
space:
mode:
authorAaditya Dhruv <[email protected]>2026-01-27 22:35:54 -0600
committerAaditya Dhruv <[email protected]>2026-01-27 22:35:54 -0600
commit17cd7420e9d2432d56f9c69c6e4a8ab665ef4b9b (patch)
tree7bcfc1d05b9b058240799d714ea0674f5eed58f3 /src/junkcraft.c
parent186889aaa18426d31c268735a4d34b494234f421 (diff)
Add World and multi-chunk rendering
- More than 1 chunk can now be rendered with the help of the world struct - Block coords are now in world space, not local space - Engine init code cleaned up for cleaner world/chunk handling
Diffstat (limited to 'src/junkcraft.c')
-rw-r--r--src/junkcraft.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/junkcraft.c b/src/junkcraft.c
index 6a12a40..4a1a96a 100644
--- a/src/junkcraft.c
+++ b/src/junkcraft.c
@@ -2,7 +2,6 @@
#include <time.h>
int main() {
- srand(time(NULL));
struct engine engine = { 0 };
if (engine_init(&engine) != 0) {
return -1;