math & physics
obunako at July 21st, 2003 04:28 — #1
I'm doing a demo where i need to know if two lines ( x1,y1,x2,y2 first x3,y3,x4,y4 second line ) are cross. Otherwise, i need a line colision algorithm, i have one but i'm sure that using math i can obtain a better performance.
dk2 at July 21st, 2003 05:20 — #2
I found the following page useful:
Let me know if that helps
anubis at July 21st, 2003 06:06 — #3
nice page, it just helped me out with a problem... bookmarked !
moomin at July 21st, 2003 07:20 — #4
Hmmmmm having to write a piece of code that solves simulataneous equations is apparent. I may have a go at that soon.