diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-04-27 11:25:48 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-04-27 11:25:48 +1000 |
commit | 8dae0a94059bd21a5a10e4434cadc843126d8b05 (patch) | |
tree | d8d110e0a4a2a03e1e9d6c3b7a2dbf53a9d9e858 /examples/obj_loading | |
parent | 7a8d93d2b867cab853ecf8c4ec5061cdc5cab665 (diff) | |
parent | f8375e4587612d6a582eb053be5a67694a59993d (diff) |
Merge branch 'brainstorming-systems' into ral
Diffstat (limited to 'examples/obj_loading')
-rw-r--r-- | examples/obj_loading/ex_obj_loading.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/obj_loading/ex_obj_loading.c b/examples/obj_loading/ex_obj_loading.c index 6e63938..e225cb2 100644 --- a/examples/obj_loading/ex_obj_loading.c +++ b/examples/obj_loading/ex_obj_loading.c @@ -62,7 +62,8 @@ int main() { // Draw the backpack transform model_tf = transform_create(vec3(0.0, -0.4, 0.0), quat_ident(), 1.8); // make the backpack a bit bigger - draw_model(&core->renderer, &cam, backpack, model_tf, &our_scene); + mat4 model_matrix = transform_to_mat(&model_tf); + draw_model(&core->renderer, &cam, backpack, &model_matrix, &our_scene); render_frame_end(&core->renderer); } |