Add near
and far
check in intersectRay
#658
Merged
near
and far
check in intersectRay
#658