diff options
Diffstat (limited to 'examples/skinned_animation/ex_skinned_animation.c')
-rw-r--r-- | examples/skinned_animation/ex_skinned_animation.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/examples/skinned_animation/ex_skinned_animation.c b/examples/skinned_animation/ex_skinned_animation.c index f7db62e..e1ebd64 100644 --- a/examples/skinned_animation/ex_skinned_animation.c +++ b/examples/skinned_animation/ex_skinned_animation.c @@ -73,15 +73,13 @@ int main() { // TODO: Drawing should still just use the PBR pipeline Mesh* m = Mesh_Get(simple_skin->meshes[0]); - RenderEnt render_ents[1] = { - (RenderEnt ){ .mesh = simple_skin->meshes[0], - .material = m->material, - .animation_clip = simple_skin->animations->data[0], - .is_playing = true, - .t = 0.0, - .affine = mat4_ident(), - .flags = 0 } - }; + RenderEnt render_ents[1] = { (RenderEnt){ .mesh = simple_skin->meshes[0], + .material = m->material, + .animation_clip = simple_skin->animations->data[0], + .is_playing = true, + .t = 0.0, + .affine = mat4_ident(), + .flags = 0 } }; // ModelExtractRenderEnts(rend_ents, handle, mat4_translation(vec3(0, 0, 0)), 0); // draw_skinned_model(&core->renderer, &game.camera, simple_skin, tf, &our_scene); |