Im making a ray caster, and i need to detect whether the rays intersect with the wall segments, which i have the coordinates of each vertex to, does anyone know a way to do this