gtkradiant/tools/quake3/q3map2
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
..
.cvsignore transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
brush.c Importing code changes for q3map2 from Rambetter-math-fix-experiments branch 2011-01-10 06:15:47 +00:00
brush_primit.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
bsp.c merge branch work back into trunk 2008-09-01 17:34:10 +00:00
bspfile_abstract.c merge branch work back into trunk 2008-09-01 17:34:10 +00:00
bspfile_ibsp.c patch from Rudolf Polzer implementing bsp46 support and adding -game 2008-09-20 11:07:36 +00:00
bspfile_rbsp.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
changelog.q3map1 ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
changelog.q3map2.txt ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
convert_ase.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
convert_map.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
decals.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
facebsp.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
fog.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
game_ef.h ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
game_etut.h patch from Rudolf Polzer implementing bsp46 support and adding -game 2008-09-20 11:07:36 +00:00
game_ja.h ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
game_jk2.h ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
game_nexuiz.h patch from Rudolf Polzer implementing bsp46 support and adding -game 2008-09-20 11:07:36 +00:00
game_qfusion.h ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
game_quake3.h patch from Rudolf Polzer implementing bsp46 support and adding -game 2008-09-20 11:07:36 +00:00
game_quakelive.h remove some FIXME comments about quakelive paths, since they are the 2008-09-20 11:12:28 +00:00
game_sof2.h ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
game_t.h eol style 2007-11-04 03:47:06 +00:00
game_tenebrae.h ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
game_tremulous.h ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
game_wolf.h patch from Rudolf Polzer implementing bsp46 support and adding -game 2008-09-20 11:07:36 +00:00
game_wolfet.h patch from Rudolf Polzer implementing bsp46 support and adding -game 2008-09-20 11:07:36 +00:00
image.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
leakfile.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
light.c merge branch work back into trunk 2008-09-01 17:34:10 +00:00
light_bounce.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
light_shadows.c ABToSVK commit 2008-08-24 03:20:51 +00:00
light_trace.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
light_ydnar.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
lightmaps.c eol style 2007-11-04 03:47:06 +00:00
lightmaps_ydnar.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
listen.pl ... 2007-11-04 04:08:17 +00:00
main.c compiles again on win32, trashed mhash 2010-11-26 05:59:17 +00:00
map.c Importing code changes for q3map2 from Rambetter-math-fix-experiments branch 2011-01-10 06:15:47 +00:00
mesh.c ABToSVK commit 2008-08-24 03:20:51 +00:00
model.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
patch.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
path_init.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
portals.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
prtfile.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
q3map2.h Importing code changes for q3map2 from Rambetter-math-fix-experiments branch 2011-01-10 06:15:47 +00:00
q3map2.ico transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
q3map2.rc transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
q3map2.vcproj merge branch work back into trunk 2008-09-01 17:34:10 +00:00
q3map2_VC9.vcproj rebuilt gtk binary dependencies file 2010-12-13 04:21:05 +00:00
shaders.c compiles again on win32, trashed mhash 2010-11-26 05:59:17 +00:00
surface.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
surface_extra.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
surface_foliage.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
surface_fur.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
surface_meta.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
tjunction.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
tree.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
vis.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
visflow.c ported over the 1.5 branch version of q3map2 which is newer 2008-07-25 07:31:37 +00:00
writebsp.c merge branch work back into trunk 2008-09-01 17:34:10 +00:00