Liang-Barsky algorithm

An algorithm for line clipping, significantly more efficient than Cohen-Sutherland.