]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/map.c
Merge commit 'a255fbd84e64e4f8bb6e6786b6f65579071742b6' into garux-merge
[xonotic/netradiant.git] / tools / quake3 / q3map2 / map.c
index fdbe01f12e8be0d79ecce5e9ae67be4249ffd7f2..82bf961e21cbd520884e73be16bf93a08a102a3e 100644 (file)
@@ -164,10 +164,10 @@ qboolean SnapNormal( vec3_t normal ){
        // normalized).  The original SnapNormal() didn't snap such vectors - it
        // only snapped vectors that were near a perfect axis.
 
-       //adjusting vectors, that were near a perfect axis, with bigger epsilon
+       //adjusting vectors, that are near perfect axis, with bigger epsilon
        //they cause precision errors
 
-       /*
+
        if ( ( normal[0] != 0.0 || normal[1] != 0.0 ) && fabs(normal[0]) < 0.00025 && fabs(normal[1]) < 0.00025){
                normal[0] = normal[1] = 0.0;
                adjusted = qtrue;
@@ -180,7 +180,7 @@ qboolean SnapNormal( vec3_t normal ){
                normal[2] = normal[1] = 0.0;
                adjusted = qtrue;
        }
-       */
+
 
        /*
        for ( i=0; i<30; i++ )