Finished triangular raycast