mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-26 13:51:38 +00:00
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
This commit is contained in:
parent
8235a81ac1
commit
ceb313228a
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue