diff options
Diffstat (limited to 'game/src/plugins/viewer.c')
-rw-r--r-- | game/src/plugins/viewer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
195 | // pose). | 195 | // pose). |
196 | const mat4 model = gfx_get_node_global_transform(node); | 196 | const mat4 model = gfx_get_node_global_transform(node); |
197 | const SceneObject* obj = gfx_get_node_object(node); | 197 | const SceneObject* obj = gfx_get_node_object(node); |
198 | const aabb3 box = gfx_calc_object_aabb(obj); | 198 | const aabb3 box = gfx_get_object_aabb(obj); |
199 | gfx_imm_set_model_matrix(imm, &model); | 199 | gfx_imm_set_model_matrix(imm, &model); |
200 | gfx_imm_draw_aabb3(imm, box); | 200 | gfx_imm_draw_aabb3(imm, box); |
201 | } | 201 | } |