From 374567ae4b18627f9ab410e7e5a38b1e7aeb04c5 Mon Sep 17 00:00:00 2001 From: Omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sat, 20 Apr 2024 22:02:34 +1000 Subject: it works with negating Y axis of local transform and inverse bind matrix. I have NO IDEA why --- examples/skinned_animation/ex_skinned_animation.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/skinned_animation/ex_skinned_animation.c') diff --git a/examples/skinned_animation/ex_skinned_animation.c b/examples/skinned_animation/ex_skinned_animation.c index d0e305e..220908a 100644 --- a/examples/skinned_animation/ex_skinned_animation.c +++ b/examples/skinned_animation/ex_skinned_animation.c @@ -46,6 +46,8 @@ int main() { assert(m->is_skinned); assert(m->bones->len == 2); // 1 root and 1 extra joint + // assert(false); + model_upload_meshes(&core->renderer, simple_skin); scene our_scene = make_default_scene(); -- cgit v1.2.3-70-g09d2