Sort a list of tiles
PhTile_t * PhSortTiles( PhTile_t *tiles );
This function sorts the given list of tiles by the y coordinate then the x coordinate. Sorting a list of tiles usually results in a smaller merged list.
Don't free() the list of tiles; instead, use PhFreeTiles() to return the tiles to the internal pool. |
The same pointer as tiles.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PhAddMergeTiles(), PhClipTilings(), PhCoalesceTiles(), PhCopyTiles(), PhDeTranslateTiles(), PhFreeTiles(), PhGetTile(), PhIntersectTilings(), PhMergeTiles(), PhRectsToTiles(), PhTile_t, PhTilesToRects(), PhTranslateTiles()