Clip lines in wireframe mode
librender: move perspective division into triangle setup

Need homogenous coordinates to do clipping.