From 7b3afcaf77f96e7d62f6cd1623ead7f17512d79f Mon Sep 17 00:00:00 2001 From: Omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sat, 24 Feb 2024 22:47:46 +1100 Subject: repo init. partial port of existing code --- src/resources/gltf.c | 1 + src/resources/loaders.h | 9 +++++++++ src/resources/obj.c | 1 + 3 files changed, 11 insertions(+) create mode 100644 src/resources/gltf.c create mode 100644 src/resources/loaders.h create mode 100644 src/resources/obj.c (limited to 'src/resources') 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 -- cgit v1.2.3-70-g09d2