[Gtkradiant] r382 - in GtkRadiant/branches/Rambetter-math-fix-experiments: libs tools/quake3/common tools/quake3/q3map2

svn-noreply at zerowing.idsoftware.com svn-noreply at zerowing.idsoftware.com
Thu Dec 30 02:26:49 CST 2010


Author: rambetter
Date: Thu Dec 30 02:26:49 2010
New Revision: 382

Modified:
   GtkRadiant/branches/Rambetter-math-fix-experiments/libs/mathlib.h
   GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/common/polylib.c
   GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/common/polylib.h
   GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/brush.c
Log:
This is in branch Rambetter-math-fix-experiments.

- Adding new function ChopWindingInPlaceAccu() in polylib.c.  This function is
just like ChopWindingInPlace() except that the winding input has the higher
vect_accu_t resolution.  I actually did a deep massage of this code as well
(went over it with a fine-toothed comb).  I still need to examine it at least
one more time when I'm fresh, and fix an issue related to choosing the value
for maxpts.

- In mathlib.h, defining VEC_SMALLEST_EPSILON and VEC_ACCU_SMALLEST_EPSILON
constants that will help determine suitable epsilons to use for certain
operations.  Comments are provided detailing what these constants do.

- In mathlib.h, defining DotProductAccu() and VectorCopyAccu().

- Small comment in brush.c that has concerns about a certain use of
BaseWindingForPlane() in WriteBSPBrushMap().

State of this code is: compiles on Linux.  May not compile on Windows.  Not
tested (new functionality not used yet in any real code, only functions exist).


Modified: GtkRadiant/branches/Rambetter-math-fix-experiments/libs/mathlib.h
Url: http://zerowing.idsoftware.com/viewcvs/radiant/GtkRadiant/branches/Rambetter-math-fix-experiments/libs/mathlib.h?view=diff&rev=382&p1=GtkRadiant/branches/Rambetter-math-fix-experiments/libs/mathlib.h&r1=381&p2=GtkRadiant/branches/Rambetter-math-fix-experiments/libs/mathlib.h&r2=382
==============================================================================

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=382&p1=GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/common/polylib.c&r1=381&p2=GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/common/polylib.c&r2=382
==============================================================================

Modified: GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/common/polylib.h
Url: http://zerowing.idsoftware.com/viewcvs/radiant/GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/common/polylib.h?view=diff&rev=382&p1=GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/common/polylib.h&r1=381&p2=GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/common/polylib.h&r2=382
==============================================================================

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=382&p1=GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/brush.c&r1=381&p2=GtkRadiant/branches/Rambetter-math-fix-experiments/tools/quake3/q3map2/brush.c&r2=382
==============================================================================



More information about the Gtkradiant mailing list