gtkradiant/tools/quake3/common
rambetter a16ee23adf Importing code changes for q3map2 from Rambetter-math-fix-experiments branch
into trunk.  Right now all the new code that fixes problems is turned off. 
There are three	new #defines in q3map2.h:
EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES, EXPERIMENTAL_SNAP_NORMAL_FIX,
and EXPERIMENTAL_SNAP_PLANE_FIX.  All of these are currently set to 0, which
means don't enable that new code.  You can easily edit these to be 1 in order
to enable the new code.

There are very very minor changes to the code even with these three #defines
disabled.  They are as follows.

- In PlaneEqual() in map.c, now considering deltas equal to given epsilon
values as "far enough to be different".  Previously, the '<=' operation was
used, now '<' is being used.

- In FindFloatPlane() in map.c, considering delta equal to distanceEpsilon
(for plane distance) to be sufficiently far away.  Before, delta had to be
strictly greater than distanceEpsilon.

- VectorNormalize() in mathlib.c is more accurate now. 	This change itself
causes at least	one regression test to succeed.  The previous implementation
of VectorNormalize() caused excessive errors to	be introduced due to sloppy
arithmetic.

Note, the epsilon changes account for the possibility that the epsilons 
are set to 0.0 on the command-line.


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@416 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-01-10 06:15:47 +00:00
..
aselib.c * fixed missing string for error output 2008-08-25 12:32:29 +00:00
aselib.h set eol-style 2007-11-04 03:34:51 +00:00
bspfile.c set eol-style 2007-11-04 03:34:51 +00:00
bspfile.h set eol-style 2007-11-04 03:34:51 +00:00
cmdlib.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
cmdlib.h set eol-style 2007-11-04 03:34:51 +00:00
imagelib.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
imagelib.h ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
inout.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
inout.h ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
jpeg.c add q3map2 build to scons 2008-01-02 04:47:59 +00:00
l3dslib.c set eol-style 2007-11-04 03:34:51 +00:00
l3dslib.h set eol-style 2007-11-04 03:34:51 +00:00
md4.c transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
mutex.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
mutex.h set eol-style 2007-11-04 03:34:51 +00:00
polylib.c Importing code changes for q3map2 from Rambetter-math-fix-experiments branch 2011-01-10 06:15:47 +00:00
polylib.h Importing code changes for q3map2 from Rambetter-math-fix-experiments branch 2011-01-10 06:15:47 +00:00
polyset.h set eol-style 2007-11-04 03:34:51 +00:00
qfiles.h set eol-style 2007-11-04 03:34:51 +00:00
qthreads.h set eol-style 2007-11-04 03:34:51 +00:00
scriplib.c set eol-style 2007-11-04 03:34:51 +00:00
scriplib.h set eol-style 2007-11-04 03:34:51 +00:00
surfaceflags.h ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
threads.c pthread_join Fix from Nerius Landys 2010-11-13 13:36:27 +00:00
trilib.c set eol-style 2007-11-04 03:34:51 +00:00
trilib.h set eol-style 2007-11-04 03:34:51 +00:00
unzip.c set eol-style 2007-11-04 03:34:51 +00:00
unzip.h set eol-style 2007-11-04 03:34:51 +00:00
vfs.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
vfs.h set eol-style 2007-11-04 03:34:51 +00:00