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

svn-noreply at zerowing.idsoftware.com svn-noreply at zerowing.idsoftware.com
Wed Dec 29 19:25:37 CST 2010


Author: rambetter
Date: Wed Dec 29 19:25:37 2010
New Revision: 381

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

- Adding new function BaseWindingForPlaneAccu() in polylib.c.  Analogous to
original BaseWindingForPlane() only that the return value is a
winding_accu_t (new type w/ double precision). 	This function is not being
used yet.

- Restoring the original BaseWindingForPlane() function (pre-r371).  Will keep
this as a reference.  What I did exactly:
  * Renamed BaseWindingForPlane() to BaseWindingForPlaneAccu(), changed stuff.
  * Renamed _BaseWindingForPlane_orig_() to BaseWindingForPlane(), preserved.

- Adding things like vec_accu_t, vec3_accu_t, VectorSubtractAccu(),
VectorAddAccu(), VectorScaleAccu(), CrossProductAccu(), and
winding_accu_t.	 Also AllocWindingAccu() and FreeWindingAccu().

- Removing the recently	added VectorSetLength() function because it is no
longer needed.

State of this code is: compiles, not tested (new functionality not used	yet).


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=381&p1=GtkRadiant/branches/Rambetter-math-fix-experiments/libs/mathlib.h&r1=380&p2=GtkRadiant/branches/Rambetter-math-fix-experiments/libs/mathlib.h&r2=381
==============================================================================

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

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

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



More information about the Gtkradiant mailing list