
-----------------------------------
insanesniper23
Wed Dec 10, 2014 9:59 am

help with filling grid boxes
-----------------------------------
What is the problem you are having?


-----------------------------------
Dreadnought
Wed Dec 10, 2014 1:27 pm

Re: help with filling grid boxes
-----------------------------------
Suppose that your squares are from (a1,b2) to (a2,b2) and from (x1,y1) to (x2,y2) then you can fill in the area from (min(a1,a2,x1,x2), min(b1,b2,y1,y2)) to ((max(a1,a2,x1,x2), max(b1,b2,y1,y2)).
