pub fn total_tiles_2d( width: usize, height: usize, tw: usize, th: usize, ) -> usize
Total number of tiles for a 2-D problem.