summaryrefslogtreecommitdiff
path: root/examples/skinned_animation
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-20 22:02:34 +1000
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-20 22:02:34 +1000
commit374567ae4b18627f9ab410e7e5a38b1e7aeb04c5 (patch)
tree1838902529fb31ef66f7bfa4074077c86e8580e8 /examples/skinned_animation
parent61d96cf09e2e125f36a94a4c64ed5682fda0df1c (diff)
it works with negating Y axis of local transform and inverse bind matrix. I have NO IDEA why
Diffstat (limited to 'examples/skinned_animation')
-rw-r--r--examples/skinned_animation/ex_skinned_animation.c2
1 files changed, 2 insertions, 0 deletions
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();