153 {
155 auto pt = it.first;
156 if (!
xymap.has(pt.x, pt.y)) {
157 continue;
158 }
159 uint32_t index =
xymap(pt.x, pt.y);
160 uint8_t value = it.second;
161 if (value > 0) {
162 visitor.draw(pt, index, value);
163 }
164 }
165 }
XYMap xymap(WIDTH, HEIGHT, SERPENTINE)