https://github.com/wiremod/wire-extras/blob/master/lua/entities/gmod_wire_expression2/core/custom/tracesystem.lua
Is there a good reason why this isn't in vanilla wiremod and enabled by default? The ray intersection functions are very useful, and doing them manually in e2 is at times quite slow.