Factor this out in a helper, `setTurnLine(p1, p2, p3)