use in ED_view3d_win_to_segment_clip() and fix error, was clipping by only 4 planes rather then 6.
tag