At 5:27 PM -0700 8/19/05, Joe Raffanti wrote:
Thanks for all the feedback, everyone.
I think this is what you were referring to in Renegades:
Function PlaneIntersection(planeNormal As Vector3D, planeD As
Double, p0 As Vector3D, p1 As Vector3D) As Vector3D
No, that just fines the intersection of a line with a plane -- which
is *part* of finding a line/triangle intersection, but only part.
Lo posted code that should do what you need; I suggest just using that.
If you ever do need to intersect a line with a plane, bring this up
again and I'll explain how to define a plane for use with this
function.
Best,
- Joe
--
Joe Strout REAL Software, Inc.
Vote for REALbasic (twice!) in the LinuxWorld Reader's Choice Awards:
http://linux.sys-con.com/general/readerschoice.htm
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|