Z clipping 3d. You need to deal with the case where one point is in front of the cam...