Intersection point for two lines, given endpoints.
I need code to find the intersection point of two lines given the endpoints of both lines. Tried Liang-Barsky algorithm, with no luck. I'm using C/C++ and openGL.
I did a search of this website first to see if my question had been previously answered, but the resulting webpages, just read: 404: page not found - so if this has been answered in the past, it's not on the site now.