[Gtkradiant] r414 - in GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3: common q3map2
svn-noreply at zerowing.idsoftware.com
svn-noreply at zerowing.idsoftware.com
Sun Jan 9 22:23:32 CST 2011
Author: rambetter
Date: Sun Jan 9 22:23:32 2011
New Revision: 414
Modified:
GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/common/polylib.c
GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/brush.c
GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/map.c
GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/q3map2.h
Log:
- Adjusting various comments in EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES
code, etc.
- In CreateBrushWindings(), not going into FixWindingAccu() (in
EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES code path) until a winding has
been chopped against all sides. I don't see any reason to do it the old way
of fixing the winding after each chop, especially since endpoints of the
winding may not naturally lie on integer endpoint at that point.
- In q3map2.h, setting normalEpsilon and distanceEpsilon based on
EXPERIMENTAL_SNAP_NORMAL_FIX and EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES,
respectively. The epsilons are adjusted to compensate for the new nature
of the code.
- Removing unused "ourNormalEpsilon" in SnapNormal().
- In FindFloatPlane(), changing '>' to '>=' for comparison of distanceEpsilon
to be consistent with definition of epsilon and with other code.
Modified: GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/common/polylib.c
Url: http://zerowing.idsoftware.com/viewcvs/radiant/GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/common/polylib.c?view=diff&rev=414&p1=GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/common/polylib.c&r1=413&p2=GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/common/polylib.c&r2=414
==============================================================================
Modified: GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/brush.c
Url: http://zerowing.idsoftware.com/viewcvs/radiant/GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/brush.c?view=diff&rev=414&p1=GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/brush.c&r1=413&p2=GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/brush.c&r2=414
==============================================================================
Modified: GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/map.c
Url: http://zerowing.idsoftware.com/viewcvs/radiant/GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/map.c?view=diff&rev=414&p1=GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/map.c&r1=413&p2=GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/map.c&r2=414
==============================================================================
Modified: GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/q3map2.h
Url: http://zerowing.idsoftware.com/viewcvs/radiant/GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/q3map2.h?view=diff&rev=414&p1=GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/q3map2.h&r1=413&p2=GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/q3map2.h&r2=414
==============================================================================
More information about the Gtkradiant
mailing list