gtkradiant/libs/mathlib
rambetter 9c24f3e995 Making more progress on EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES code.
- Setting EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES to 1 (enabled).  I'll
turn this off before merging into trunk.

- In function MapPlaneFromPoints() in map.c, doing a bit tighter math when
EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES is on.  This comes at the
expense of a few extra CPU cycles.  The signature of the function remains
the same.

- In VectorNormalize() in mathlib.c, fixing a cast of the return value.
I did not see compile warnings or runtime errors, but it seems wrong the
way it was.

- Adding VectorNormalizeAccu() in mathlib.c, for normalizing vectors built on
the high resolution data type.


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-math-fix-experiments@395 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-31 08:54:43 +00:00
..
bbox.c eol style 2007-11-04 03:47:06 +00:00
linear.c * fixed warnings 2008-06-26 11:21:13 +00:00
m4x4.c * fixed warnings 2008-06-26 11:21:13 +00:00
mathlib.c Making more progress on EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES code. 2010-12-31 08:54:43 +00:00
mathlib.vcproj merge branch work back into trunk 2008-09-01 17:34:10 +00:00
mathlib_VC9.vcproj merge branch work back into trunk 2008-09-01 17:34:10 +00:00
ray.c eol style 2007-11-04 03:47:06 +00:00