Rayintersect: Difference between revisions
Jump to navigation
Jump to search
Rob Anybody (talk | contribs) Created page with "'''rayintersect''' <x> <y> <z> <vx> <vy> <vz> <x1> <y1> <x2> <y2> <intx> <inty> <intz> <ret> Projects a ray from point <x> <y> <z> along vector <vx> <vy> <vz>, and determ..." |
(No difference)
|
Latest revision as of 23:36, 9 August 2020
rayintersect <x> <y> <z> <vx> <vy> <vz> <x1> <y1> <x2> <y2> <intx> <inty> <intz> <ret>
Projects a ray from point <x> <y> <z> along vector <vx> <vy> <vz>, and determines where it intersects the vertical plane defined by the points <x1> <y1> and <x2> <y2>.
The point of intersection, if any, is returned as <intx> <inty> <intz>, with <ret> holding a value of 1 if an intersection exists and 0 otherwise.