mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-14 16:31:36 +00:00
f5ebc52dca
- 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 |
||
---|---|---|
.. | ||
common | ||
q3data | ||
q3map2 |