gtkradiant/tools
rambetter f5ebc52dca Tie up some tid bit loose ends related to q3map2 math improvements:
- Improved comments on SnapWeldVectorAccu() and FixWindingAccu().
In particular, FixWindingAccu() has a new "protocol".  The return value
now has a different meaning.  qtrue means the winding was altered, qfalse
means it wasn't.  The caller should check for degenerate windings (2 points
or less in winding).  Also, input winding to FixWindingAccu() cannot be NULL,
otherwise error is raised.  This is just cleaner in my opinion.

- In code that calls FixWindingAccu(), extra logic for handling NULL (which
now isn't allowed) and degenerate output winding (2 points or less).

- In ChopWindingInPlaceAccu() in polylib.c, factoring code a little bit to
reduce verbosity.


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-math-fix-experiments@409 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-01-05 04:10:48 +00:00
..
quake2 merge branch work back into trunk 2008-09-01 17:34:10 +00:00
quake3 Tie up some tid bit loose ends related to q3map2 math improvements: 2011-01-05 04:10:48 +00:00