Authored by Thomas Rasch

o RMDumpTile()

... ... @@ -91,3 +91,9 @@ RMTileRect RMTileRectRound(RMTileRect rect)
rect.origin.offset = CGPointZero;
return rect;
}
// Dump a description of the tile to the console
void RMTileDump(RMTile tile)
{
printf("Tile at (%d,%d), zoom %hi\n", tile.x, tile.y, tile.zoom);
}
... ...
... ... @@ -73,4 +73,7 @@ uint64_t RMTileKey(RMTile tile);
/// Round the rectangle to whole numbers of tiles
RMTileRect RMTileRectRound(RMTileRect rect);
/// Dump a description of the tile to the console
void RMTileDump(RMTile tile);
#endif
... ...