summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-15 13:06:27 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-15 13:06:27 +1000
commit938e3944fd7d55951e794224e6346488d3c701ea (patch)
tree74b1ffd98099a69392f3472768ea99ebe18c4586 /examples
parentd4df846c97a7fd216748806abdb729a11a0ce2ec (diff)
cone wip
Diffstat (limited to 'examples')
-rw-r--r--examples/skinned_animation/ex_skinned_animation.c16
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);