gtkradiant/libs
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
..
cmdlib merge branch work back into trunk 2008-09-01 17:34:10 +00:00
ddslib merge branch work back into trunk 2008-09-01 17:34:10 +00:00
l_net merge branch work back into trunk 2008-09-01 17:34:10 +00:00
mathlib Importing code changes for q3map2 from Rambetter-math-fix-experiments branch 2011-01-10 06:15:47 +00:00
md5lib fix Linux compile from mhash stuff 2010-11-26 06:46:05 +00:00
pak more eol-style 2007-11-04 03:53:53 +00:00
picomodel merge branch work back into trunk 2008-09-01 17:34:10 +00:00
splines merge branch work back into trunk 2008-09-01 17:34:10 +00:00
synapse merge branch work back into trunk 2008-09-01 17:34:10 +00:00
.cvsignore transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
bytebool.h eol style 2007-11-04 03:47:06 +00:00
cmdlib.h eol style 2007-11-04 03:47:06 +00:00
ddslib.h eol style 2007-11-04 03:47:06 +00:00
igl_to_qgl.h eol style 2007-11-04 03:47:06 +00:00
mathlib.h Importing code changes for q3map2 from Rambetter-math-fix-experiments branch 2011-01-10 06:15:47 +00:00
md4lib.h fix Linux compile from mhash stuff 2010-11-26 06:46:05 +00:00
md5lib.h eol style 2007-11-04 03:47:06 +00:00
missing.h * implemented FindFiles, NextFile and ~FindFiles for linux 2008-03-18 19:31:49 +00:00
multimon.h ABToSVK commit 2008-08-24 03:20:51 +00:00
pakstuff.h eol style 2007-11-04 03:47:06 +00:00
picomodel.h eol style 2007-11-04 03:47:06 +00:00
stdint.msvc.h compiles again on win32, trashed mhash 2010-11-26 05:59:17 +00:00
str.h fix and improve the game selection and game configuration dialogs - added dir dialog, using GtkComboBox (added support for GtkComboBox too) 2008-04-12 23:01:39 +00:00
synapse.h eol style 2007-11-04 03:47:06 +00:00