Implement rendering model with texture

This commit is contained in:
2024-08-04 20:05:45 +01:00
parent 677627d8c9
commit 1ab8c964bf
4 changed files with 87 additions and 32 deletions

View File

@@ -31,7 +31,8 @@ int main(void) {
return TINY_EXIT_RENDER_INIT_FAILED;
}
Model model = load_obj_file(arena, "resources/head.obj");
Model model =
load_obj_file(arena, "resources/head_new.obj", "resources/head.pnm");
if (IS_NULL_MODEL(model)) {
return TINY_EXIT_MODEL_LOAD_FAILED;
}