Added type def mdl::ObjList for std::list<mdl::ObjData*>

This commit is contained in:
korenkonder
2024-08-04 00:44:53 +03:00
parent 8476ed6610
commit f1cfc9ed09
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -1753,7 +1753,7 @@ static int32_t draw_pass_3d_translucent_count_layers(render_context* rctx,
static void draw_pass_3d_translucent_has_objects(render_context* rctx, bool* arr, mdl::ObjType type) {
rctx->disp_manager->calc_obj_radius(&rctx->view_mat, type);
std::list<mdl::ObjData*>& vec = rctx->disp_manager->obj[type];
mdl::ObjList& vec = rctx->disp_manager->obj[type];
for (mdl::ObjData*& i : vec)
switch (i->kind) {
case mdl::OBJ_KIND_NORMAL: {