summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-02-24 22:47:46 +1100
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-02-24 22:47:46 +1100
commit7b3afcaf77f96e7d62f6cd1623ead7f17512d79f (patch)
treeb5f82c64e9c06a84e4d095ab4ac48712e860b673 /src/resources
parentb047be5252aeb981faea077409c1768fda0301d9 (diff)
repo init. partial port of existing code
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/gltf.c1
-rw-r--r--src/resources/loaders.h9
-rw-r--r--src/resources/obj.c1
3 files changed, 11 insertions, 0 deletions
diff --git a/src/resources/gltf.c b/src/resources/gltf.c
new file mode 100644
index 0000000..b646f58
--- /dev/null
+++ b/src/resources/gltf.c
@@ -0,0 +1 @@
+// TODO: Port code from old repo \ No newline at end of file
diff --git a/src/resources/loaders.h b/src/resources/loaders.h
new file mode 100644
index 0000000..ba38ec4
--- /dev/null
+++ b/src/resources/loaders.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#include "defines.h"
+
+struct core;
+typedef u32 model_handle;
+
+model_handle model_load_obj(struct core *core, const char *path, bool invert_texture_y);
+model_handle model_load_gltf(struct core *core, const char *path, bool invert_texture_y); \ No newline at end of file
diff --git a/src/resources/obj.c b/src/resources/obj.c
new file mode 100644
index 0000000..b646f58
--- /dev/null
+++ b/src/resources/obj.c
@@ -0,0 +1 @@
+// TODO: Port code from old repo \ No newline at end of file