PhMergeTiles()

Remove all overlap from a list of tiles

Synopsis:

PhTile_t * PhMergeTiles( PhTile_t *tiles );

Library:

ph

Description:

This function removes all overlap from the list of tiles pointed to by tiles.

Returns:

The same pointer as tiles.


Note: Don't free() the list of tiles; instead, use PhFreeTiles() to return the tiles to the internal pool.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhAddMergeTiles(), PhClipTilings(), PhCoalesceTiles(), PhCopyTiles(), PhDeTranslateTiles(), PhFreeTiles(), PhGetTile(), PhIntersectTilings(), PhRectsToTiles(), PhSortTiles(), PhTile_t, PhTilesToRects(), PhTranslateTiles()

Using damage tiles in the Raw Drawing and Animation chapter of the Photon Programmer's Guide