From d0eb5b0dcb589cfa74e801f19c911ae0f665eaa0 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Mon, 19 Feb 2024 17:22:28 -0800 Subject: Address TODO. --- game/src/plugins/viewer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/src/plugins/viewer.c') diff --git a/game/src/plugins/viewer.c b/game/src/plugins/viewer.c index 88821af..4f4ef03 100644 --- a/game/src/plugins/viewer.c +++ b/game/src/plugins/viewer.c @@ -195,7 +195,7 @@ static void render_bounding_boxes_rec(ImmRenderer* imm, const SceneNode* node) { // pose). const mat4 model = gfx_get_node_global_transform(node); const SceneObject* obj = gfx_get_node_object(node); - const aabb3 box = gfx_calc_object_aabb(obj); + const aabb3 box = gfx_get_object_aabb(obj); gfx_imm_set_model_matrix(imm, &model); gfx_imm_draw_aabb3(imm, box); } -- cgit v1.2.3