summaryrefslogtreecommitdiff
path: root/src/resources/gltf.c
diff options
context:
space:
mode:
authoromnisci3nce <omniscient.oce@gmail.com>2024-07-17 23:12:42 +1000
committeromnisci3nce <omniscient.oce@gmail.com>2024-07-17 23:12:42 +1000
commitc3737fff1be704e14a2bada69bbf8a6709c5f670 (patch)
treeaa2225901f26598b07855a65a944354fbedc40b1 /src/resources/gltf.c
parentf8641a5cc4c8baf1f0a7be3685afc219d90143d9 (diff)
wip shader layouts for common stuff
Diffstat (limited to 'src/resources/gltf.c')
-rw-r--r--src/resources/gltf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/gltf.c b/src/resources/gltf.c
index 69ae9e1..56d5660 100644
--- a/src/resources/gltf.c
+++ b/src/resources/gltf.c
@@ -50,10 +50,10 @@ ModelHandle model_load_gltf(const char *path, bool invert_texture_y) {
const char *file_string = string_from_file(path);
ModelHandle handle;
- // Model *model = model_pool_alloc(&g_core.models, &handle);
- // model->name = str8_cstr_view(path);
- // model->meshes = mesh_darray_new(1);
- // model->materials = material_darray_new(1);
+ Model *model = Model_pool_alloc(&g_core.models, &handle);
+ model->name = Str8_cstr_view(path);
+ model->meshes = Mesh_darray_new(1);
+ model->materials = Material_darray_new(1);
// bool success =
// model_load_gltf_str(file_string, path, relative_path.path, model, invert_texture_y);