aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-09-24 20:29:39 +1000
committerquou <quou@disroot.org>2024-09-24 20:29:39 +1000
commit7b21e266928f10b771bdbb23835410a900ab3587 (patch)
tree3eddcc9e0a6a7ef10efb780f12be1992d0bb0fd7
parent259237fae792e8f19d9b7920b2354f75bc1789e2 (diff)
Properly init maths
-rw-r--r--1bitjam.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/1bitjam.c b/1bitjam.c
index d573fe1..bd0e21d 100644
--- a/1bitjam.c
+++ b/1bitjam.c
@@ -1,5 +1,6 @@
#include "asset.h"
#include "config.h"
+#include "maths.h"
#include "memory.h"
#include "plat.h"
#include "rect.h"
@@ -15,6 +16,7 @@ int entrypoint(int argc, const char** argv, Arena* m) {
int x = 0, y = 0;
(void)argc;
(void)argv;
+ init_maths();
init_heap(
&h,
arena_alloc(m, app_memory_size),