Pelles C forum

C language => Tips & tricks => Topic started by: czerny on February 04, 2015, 10:27:45 am

Title: Rectangle Intersection
Post by: czerny on February 04, 2015, 10:27:45 am
This is a small test program for a function 'RectIntersection()' which can calculate the intersection of two RECTs.
Maybe it is usefull for others! Press ESC to get new rectangles.

Edit: There is test code in front of the RandomRect calls. Can be deleted.
Title: Re: Rectangle Intersection
Post by: frankie on February 04, 2015, 10:43:18 am
You forget to add the project...