test intersect triangle