I'm currently working on a project that involves creating an isometric/dimetric tilemap within a 2D grid space. For optimization purposes, I'm looking into calculating the amount of empty or unused tile space within the 2D grid. Has anyone here ever come across or developed a formula or method for efficiently calculating this? If so, I'd greatly appreciate any insights.
Thanks!