diff options
Diffstat (limited to 'src/render/render.c')
-rw-r--r-- | src/render/render.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); |