Hello,
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.
Thanks :blush: .
Lines
Started by Obunako, Jul 21 2003 08:28 AM
3 replies to this topic
#1
Posted 21 July 2003 - 08:28 AM
#2
Posted 21 July 2003 - 09:20 AM
I found the following page useful:
http://mathworld.wolfram.com/Line-LineInte...tersection.html
Let me know if that helps
http://mathworld.wolfram.com/Line-LineInte...tersection.html
Let me know if that helps
#3
Posted 21 July 2003 - 10:06 AM
nice page, it just helped me out with a problem... bookmarked !
If Prolog is the answer, what is the question ?
#4
Posted 21 July 2003 - 11:20 AM
Hmmmmm having to write a piece of code that solves simulataneous equations is apparent. I may have a go at that soon.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


This topic is locked









