]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
q3map2: add a comment for future readers
authorThomas Debesse <dev@illwieckz.net>
Mon, 22 Feb 2021 23:03:47 +0000 (00:03 +0100)
committerThomas Debesse <dev@illwieckz.net>
Mon, 22 Feb 2021 23:03:47 +0000 (00:03 +0100)
tools/quake3/q3map2/main.c

index b7c91f15e1e3b7a2a1abf842a47ea054a39cd2ea..9db48d117deb8ef0773eb9726af400d2d8314e55 100644 (file)
@@ -220,6 +220,8 @@ int ShiftBSPMain( int argc, char **argv ){
        {
                //find point on plane
                for ( j=0; j<3; j++ ){
+                       // This line being commented out is an unexplained change by Garux
+                       // see dd7f4f1689e8ede7580bdfa8e08d0b78d08f5253
                        //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];