Clip one list of tiles from another
PhTile_t *PhClipTilings( PhTile_t *tiles, PhTile_t const * const clip_tiles, PhTile_t **intersection );
ph
This function clips the list of tiles pointed to by clip_tiles from the list pointed to by tiles. If intersection isn't NULL, it's set to point to the list of intersections that are clipped out of the tiles list.
The clip_tiles list isn't modified.
A pointer to the clipped list of tiles, or NULL if clip_tiles encompasses tiles.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PhAddMergeTiles(), PhCoalesceTiles(), PhCopyTiles(), PhDeTranslateTiles(), PhFreeTiles(), PhGetTile(), PhIntersectTilings(), PhMergeTiles(), PhRectsToTiles(), PhSortTiles(), PhTile_t, PhTilesToRects(), PhTranslateTiles()
“Using damage tiles” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide