Add line clipping algorithm (Liang-Barsky).