Consolidate Liang–Barsky clipping implementations.