diff options
Diffstat (limited to 'examples/gltf_loading')
-rw-r--r-- | examples/gltf_loading/ex_gltf_loading.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/gltf_loading/ex_gltf_loading.c b/examples/gltf_loading/ex_gltf_loading.c index 5d53e78..b181426 100644 --- a/examples/gltf_loading/ex_gltf_loading.c +++ b/examples/gltf_loading/ex_gltf_loading.c @@ -72,7 +72,8 @@ int main() { angle += (rot_speed * deltaTime); transform model_tf = transform_create(vec3(0.0, 0.1, -0.1), rot, 1.8); // make the backpack a bit bigger - draw_model(&core->renderer, &cam, cube, model_tf, &our_scene); + mat4 model = transform_to_mat(&model_tf); + draw_model(&core->renderer, &cam, cube, &model, &our_scene); render_frame_end(&core->renderer); } |