Quote:And that's EXACTLY why I was trying to drill home the point about points and vectors not quite being the same thing... subtracting POINT a from POINT b gives you a VECTOR (or, as you put it, direction). :-) That's what I meant when I said that you might become confused if you don't make sure you understand the difference.
Original post by zyrolasting
By the way, I did not see reference to (b - a) in the 2nd operand. Looking at Oliii's code, it looked like only the direction was taken into account.
It looks like you're just about good on your intersection test... good luck!