world->entity_bh = bh_create( world->heap, &bh_system_entity_list, world,
indexed_count, 2 );
+
+ world->tar_min = world->entity_bh->nodes[0].bbx[0][1];
+ world->tar_max = world->entity_bh->nodes[0].bbx[1][1] + 20.0f;
+
+ for( u32 i=0; i<mdl_arrcount(&world->ent_marker); i++ ){
+ ent_marker *marker = mdl_arritm( &world->ent_marker, i );
+
+ if( MDL_CONST_PSTREQ( &world->meta, marker->pstr_alias, "tar_min" ) )
+ world->tar_min = marker->transform.co[1];
+
+ if( MDL_CONST_PSTREQ( &world->meta, marker->pstr_alias, "tar_max" ) )
+ world->tar_max = marker->transform.co[1];
+ }
}
static