From 567d384b698151e287e31140709c93f1b92e6db4 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Tue, 13 Aug 2024 20:29:27 +1000 Subject: loading joints and animations --- src/render/render.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/render/render.c') diff --git a/src/render/render.c b/src/render/render.c index 4e7a60c..af636a8 100644 --- a/src/render/render.c +++ b/src/render/render.c @@ -283,6 +283,11 @@ PUB MaterialHandle Material_Insert(Material* material) { } Mesh* Mesh_Get(MeshHandle handle) { return Mesh_pool_get(Render_GetMeshPool(), handle); } +void Mesh_DebugPrint(Mesh* mesh) { + printf("Mesh %d vertices %d indices %d joints \n", mesh->geometry.vertices->len, + mesh->geometry.indices->len); +} + size_t ModelExtractRenderEnts(RenderEnt_darray* entities, ModelHandle model_handle, Mat4 affine, RenderEntityFlags flags) { Model* model = MODEL_GET(model_handle); -- cgit v1.2.3-70-g09d2