wir33658
03-31-2003, 08:40 PM
Hi, I need to know how to get the coordinates of an intersection point. I have the following situation:
An object and a line. The line hits the object -> now I need to figure out the exact coordinates where the line intersects the object (further on I need to know the distance of the origin of the line to this point of intersection, wheras I can calc it myself as soon as I got the coords of the intersection point).
How do I do that with OpenGL ?
Thanks in advance.
An object and a line. The line hits the object -> now I need to figure out the exact coordinates where the line intersects the object (further on I need to know the distance of the origin of the line to this point of intersection, wheras I can calc it myself as soon as I got the coords of the intersection point).
How do I do that with OpenGL ?
Thanks in advance.