Showing
2 changed files
with
9 additions
and
0 deletions
@@ -91,3 +91,9 @@ RMTileRect RMTileRectRound(RMTileRect rect) | @@ -91,3 +91,9 @@ RMTileRect RMTileRectRound(RMTileRect rect) | ||
91 | rect.origin.offset = CGPointZero; | 91 | rect.origin.offset = CGPointZero; |
92 | return rect; | 92 | return rect; |
93 | } | 93 | } |
94 | + | ||
95 | +// Dump a description of the tile to the console | ||
96 | +void RMTileDump(RMTile tile) | ||
97 | +{ | ||
98 | + printf("Tile at (%d,%d), zoom %hi\n", tile.x, tile.y, tile.zoom); | ||
99 | +} |
@@ -73,4 +73,7 @@ uint64_t RMTileKey(RMTile tile); | @@ -73,4 +73,7 @@ uint64_t RMTileKey(RMTile tile); | ||
73 | /// Round the rectangle to whole numbers of tiles | 73 | /// Round the rectangle to whole numbers of tiles |
74 | RMTileRect RMTileRectRound(RMTileRect rect); | 74 | RMTileRect RMTileRectRound(RMTileRect rect); |
75 | 75 | ||
76 | +/// Dump a description of the tile to the console | ||
77 | +void RMTileDump(RMTile tile); | ||
78 | + | ||
76 | #endif | 79 | #endif |
-
Please register or login to post a comment