summaryrefslogtreecommitdiff
path: root/examples/obj_loading/ex_obj_loading.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/obj_loading/ex_obj_loading.c')
-rw-r--r--examples/obj_loading/ex_obj_loading.c3
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);