]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/main.c
Merge commit 'dd7f4f1689e8ede7580bdfa8e08d0b78d08f5253' into garux-merge
[xonotic/netradiant.git] / tools / quake3 / q3map2 / main.c
index c592a1daf5a734860675d0570658432af4c43286..b7c91f15e1e3b7a2a1abf842a47ea054a39cd2ea 100644 (file)
@@ -220,6 +220,7 @@ int ShiftBSPMain( int argc, char **argv ){
        {
                //find point on plane
                for ( j=0; j<3; j++ ){
+                       //point[j] = bspPlanes[ i ].dist * bspPlanes[ i ].normal[j];
                        if ( fabs( bspPlanes[ i ].normal[j] ) > 0.5 ){
                                point[j] = bspPlanes[ i ].dist / bspPlanes[ i ].normal[j];
                                point[(j+1)%3] = point[(j+2)%3] = 0;