Clean up clipping somewhat
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 1 Dec 2005 12:53:15 +0000 (12:53 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 1 Dec 2005 12:53:15 +0000 (12:53 +0000)
commitdd4f0d1a93c2faf22a5f75aa54fddc45878082b2
tree5a4ba901039b57ac434d3fbfbc1b55749e5183cb
parentf285f0d8f60adafdfba5c1f0563b81c68bd398d3
Clean up clipping somewhat
- no need to update ClipMask on generated vertices
- remove the VB->LastClipped value

Line clipping algorithm changed and simplified somewhat.  The old one
was based on the triangle routine and probably wouldn't have recognized
lines that were clipped down to nothing (ie culled, but not by a single
plane).
src/mesa/tnl/t_context.h
src/mesa/tnl/t_vb_cliptmp.h