![]()  | 
![]()  | 
![]()  | 
![]()  | 
Determine the intersection of two lists of tiles
PhTile_t *PhIntersectTilings( 
             PhTile_t const * const tile1,
             PhTile_t const * const tile2,
             unsigned short *num_intersect_tiles );
ph
This function creates a new list of tiles that's the intersection of the lists pointed to by tile1 and tile2. The original lists aren't modified.
A pointer to the new list, or NULL if there's no intersection.
![]()  | 
Don't free() the list of tiles; instead, use PhFreeTiles() to return the tiles to the internal pool. | 
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PhAddMergeTiles(), PhClipTilings(), PhCoalesceTiles(), PhCopyTiles(), PhDeTranslateTiles(), PhFreeTiles(), PhGetTile(), PhMergeTiles(), PhRectsToTiles(), PhSortTiles(), PhTile_t, PhTilesToRects(), PhTranslateTiles()
“Using damage tiles” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]()  | 
![]()  | 
![]()  | 
![]()  |