From 9d6a2d71e4c8c3bb5ef8d9088a5cec985f869b9b Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Fri, 4 Jul 2025 17:27:11 -0700 Subject: Refactor scene renderer to use the LLR --- include/gfx/llr/llr.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/gfx/llr/llr.h b/include/gfx/llr/llr.h index 57abffc..77df33f 100644 --- a/include/gfx/llr/llr.h +++ b/include/gfx/llr/llr.h @@ -30,8 +30,8 @@ void gfx_llr_pop_light(LLR*); /// animated, unload the skeleton prior to rendering them. void gfx_llr_set_skeleton(LLR*, const Anima*, const Skeleton*); -/// Unload the loaded skeleton. -void gfx_llr_unset_skeleton(LLR*); +/// Clear the loaded skeleton. +void gfx_llr_clear_skeleton(LLR*); /// Set the camera. void gfx_llr_set_camera(LLR*, const Camera*); @@ -39,6 +39,9 @@ void gfx_llr_set_camera(LLR*, const Camera*); /// Set the view-projection matrix. // void gfx_llr_set_view_projection_matrix(LLR*, const mat4*); +/// Set the aspect ratio. +void gfx_llr_set_aspect(LLR*, float aspect); + /// Render the geometry. void gfx_llr_render_geometry(LLR*, const Geometry*); -- cgit v1.2.3