diff options
author | Omniscient <omniscient.oce@gmail.com> | 2024-03-05 21:27:34 +1100 |
---|---|---|
committer | Omniscient <omniscient.oce@gmail.com> | 2024-03-05 21:27:34 +1100 |
commit | 3854bef8b853a369c4fc3a39abff5e2e9cd77625 (patch) | |
tree | e5836d1917a05932797b9652f568ccd1abe7aa14 /examples | |
parent | 501c44488fb8918efb5f72b8c42690e8197aad31 (diff) |
why is it crashing on file loading now?
Diffstat (limited to 'examples')
-rw-r--r-- | examples/obj_loading/ex_obj_loading.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/obj_loading/ex_obj_loading.c b/examples/obj_loading/ex_obj_loading.c index 3b2354a..87aeb2d 100644 --- a/examples/obj_loading/ex_obj_loading.c +++ b/examples/obj_loading/ex_obj_loading.c @@ -6,6 +6,9 @@ int main() { core* core = core_bringup(); + // Set up our scene + model_handle cube = model_load_obj(core, "assets/models/obj/cube/cube.obj", true); + // Main loop while (!glfwWindowShouldClose(core->renderer.window)) { input_update(&core->input); |