fixed severe bugs in QuadForPlane (broken axis selection and use of the wrong planeno...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 30 Aug 2004 09:27:10 +0000 (09:27 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 30 Aug 2004 09:27:10 +0000 (09:27 +0000)
commitb95096b3d0410a89dd1d4c96bbd56c90b71c69f2
treee1efe984dfee48f6011bb32f4d083db70112d2e0
parent805f263eee6c6b3504849972f1581d33cde86a04
fixed severe bugs in QuadForPlane (broken axis selection and use of the wrong planenormal components in some math)
modified Divide to not rotate the point list, this is a minor un-optimization of the algorithm but should improve consistency (unclipped polygons come out the same as they went in)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4404 d7cf8633-e32d-0410-b094-e92efae38249
polygon.c