add triangle-ray intersection