Fog Creek Software
Discussion Board




Rectangle Collision

I've been playing around with rectangles and am trying to do a project that involves filling a big rectangle with smaller ones, but my collision logic isn't quite right. Can anybody help me?

Steve A Gomes
Friday, January 17, 2003

Have a look at the IntersectRect API. It's pretty fast and quite useful when you need to check whether two rectangles intersect one another in any way...

Guy Gervais
Sunday, January 26, 2003

*  Recent Topics

*  Fog Creek Home