]> git.xonotic.org Git - xonotic/netradiant.git/commit
Adding MATHLIB_VECTOR_NORMALIZE_PRECISION_FIX in mathlib to control which
authorrambetter <rambetter>
Wed, 12 Jan 2011 03:35:57 +0000 (03:35 +0000)
committerrambetter <rambetter>
Wed, 12 Jan 2011 03:35:57 +0000 (03:35 +0000)
commit3326472fee94a24ea3a4dfb1cdba9f17cac55308
treecddab53dacb26970b6189178849a5dfae1017ca2
parent3b0589dd8bc8a97c1ad47f77a24b8bb33c9f37b1
Adding MATHLIB_VECTOR_NORMALIZE_PRECISION_FIX in mathlib to control which
version of code in VectorNormalize() is used.  Yes, I put the old code back
in there, and it's active if MATHLIB_VECTOR_NORMALIZE_PRECISION_FIX is 0.
Right now it's 1, so the fixed code is active.  I need this quick way to
test regression tests.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@424 8a3a26a2-13c4-0310-b231-cf6edde360e5
libs/mathlib.h
libs/mathlib/mathlib.c