Trace-line

From Wosabi Wiki
Revision as of 20:55, 17 August 2024 by Wouter (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

When given some geometry, a trace-line operation is analogous to a laser pointer and the intersecting laser-dot. When given an beginning- and an end-vector, the function returns a fraction within the domain [0,1].

Whenever the trace-line is not intersected, a NaN can also be returned.