rayIntersectTriangle

rayIntersectTriangle
(
vec3 origin
,
vec3 target
,
Triangle triangle
)

Parameters

origin vec3

origin point of collision vector

target vec3

target point of collision vector

triangle Triangle

triangle to intersect

Return Value

RayIntersection struct containing intersection results

Meta