From: Forest Hale Date: Thu, 18 Jan 2007 12:04:47 +0000 (+0000) Subject: disabled SnapPlane because it slightly corrupts collision brushes from X-Git-Tag: xonotic-v0.7.0~16^2~12^2~157 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=commitdiff_plain;h=ceb313228a78c3f177b7372db66e40dfb1a0ae27 disabled SnapPlane because it slightly corrupts collision brushes from embedded model triangles git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@137 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- diff --git a/tools/quake3/q3map2/map.c b/tools/quake3/q3map2/map.c index 722249a6..35088104 100644 --- a/tools/quake3/q3map2/map.c +++ b/tools/quake3/q3map2/map.c @@ -186,10 +186,15 @@ snaps a plane to normal/distance epsilons void SnapPlane( vec3_t normal, vec_t *dist ) { +// SnapPlane disabled by LordHavoc because it often messes up collision +// brushes made from triangles of embedded models, and it has little effect +// on anything else (axial planes are usually derived from snapped points) +#if 0 SnapNormal( normal ); if( fabs( *dist - Q_rint( *dist ) ) < distanceEpsilon ) *dist = Q_rint( *dist ); +#endif }