Calculate the bounding box from a list of tiles
void PhTilesBoundingRect( const PhTile_t *tiles, PhRect_t *r );
ph
This function takes an array of PhTile_t structures and calculates the bounding box for all the tiles in the list. The bounding box is put in the r argument.
The list of tiles can't be empty. |
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PhAddMergeTiles(), PhClipTilings(), PhCoalesceTiles(), PhCopyTiles(), PhDeTranslateTiles(), PhFreeTiles(), PhGetTile(), PhIntersectTilings(), PhMergeTiles(), PhRect_t, PhRectsToTiles(), PhSortTiles(), PhTile_t, PhTilesToRects(), PhTranslateTiles()
“Using damage tiles” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide