]> git.xonotic.org Git - xonotic/netradiant.git/commit
Continuing work on BaseWindingForPlane() in polylib.c. In fact I'm pursuing
authorrambetter <rambetter@8a3a26a2-13c4-0310-b231-cf6edde360e5>
Wed, 29 Dec 2010 04:32:35 +0000 (04:32 +0000)
committerrambetter <rambetter@8a3a26a2-13c4-0310-b231-cf6edde360e5>
Wed, 29 Dec 2010 04:32:35 +0000 (04:32 +0000)
commit7871c2f209adc9aa11c68112452bda914a61d0b6
tree01ecbee441523beb96e4eaa26708fcd38f373994
parentace50a5f6692ff2008a409ef57fc76235e0de709
Continuing work on BaseWindingForPlane() in polylib.c.  In fact I'm pursuing
the approach that was committed in r375 (but was then backed out).  I can't
believe my eyes, but I seem to be getting 0.000000% error in some of my
regression tests.  The trick is to scale by a power of 2 and never do a
VectorNormalize().

git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@377 8a3a26a2-13c4-0310-b231-cf6edde360e5
libs/mathlib.h
libs/mathlib/mathlib.c
tools/quake3/common/polylib.c