sped up nexuiz rtlights benchmark by 4% by optimizing box cull on models to skip...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 30 Sep 2004 16:38:54 +0000 (16:38 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 30 Sep 2004 16:38:54 +0000 (16:38 +0000)
commitebb137a0e6716b4f4818ae825480b44978854d4d
treeace6b2b52323000720482ccab1d4a40574e5f623
parent34143ce95fe6b6eb7075501e8eae5c9e1d42ca84
sped up nexuiz rtlights benchmark by 4% by optimizing box cull on models to skip triangle box cull when surface box is entirely inside light box
restructured R_Shadow_ConstructShadowVolume loops a bit to make for less stalls, this seems to have only netted a 0.5% speed gain or so

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4566 d7cf8633-e32d-0410-b094-e92efae38249
gl_models.c
gl_rsurf.c
r_shadow.c
r_shadow.h