]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/map.c
disabled SnapPlane because it slightly corrupts collision brushes from
[xonotic/netradiant.git] / tools / quake3 / q3map2 / map.c
index 722249a6d2361e1e0bd313617e7e385f7e03c7fc..35088104d7aaf52a34afc5f0dcc31e37f9f4dfe9 100644 (file)
@@ -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
 }