### Syntax

`swplot.raytriangle(V,F,ray)`

### Description

`swplot.raytriangle(V,F,ray)`

determines if a given ray crosses within a
triangle defined by its vertex coordinates. The code is optimised for
a single ray and multiple triangles.

### Input Arguments

`V`

- Vertex positions in a matrix with dimensions .
`F`

- Faces in a matrix with dimensions , where .
`ray`

- Definition of the ray via 2 points in space, stored in a matrix with dimensions of . The two points of the ray, and , are stored in the first and second rows respectively. The ray points from to .