title: Line intersection with AABB Rectangle?
body: <p>Preferably without using any kind of loop, as this'll be used in a game.</p>
  
  <p>I wish to intersect a line with a rectangle, of arbitrary size.
  But I also wish for the intersection point[s] to be returned.</p>
  
  <p>It's possible, I've done a little googling, but still have not worked it out.</p>
  
  <p>The line is defined using (x1,y1,x2,y2).
  The rectangle has these two points too.</p>