From cfadbe3c0e8007cd076e2507f9f32c14cf67a3c8 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Mon, 5 Mar 2001 20:38:01 +0000 Subject: [PATCH] r610: *** empty log message *** --- libctsupport/clip.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libctsupport/clip.cpp b/libctsupport/clip.cpp index 44d982d..6df1684 100644 --- a/libctsupport/clip.cpp +++ b/libctsupport/clip.cpp @@ -14,7 +14,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: clip.cpp,v 1.8 2001/01/27 21:02:20 kevin Exp $ +** $Id: clip.cpp,v 1.9 2001/03/05 20:38:01 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -250,9 +250,8 @@ clip_triangle (double& x1, double& y1, double& x2, double& y2, const double u, c int c1 = tcode (x1, y1, m, b, clip_xaxis); int c2 = tcode (x2, y2, m, b, clip_xaxis); -#ifdef DEBUG - printf ("x1:%6.2f y1:%6.2f code1:%2d x2:%6.2f y2:%6.2f code2:%2d\n", - x1, y1, c1, x2, y2, c2); +#if 0 + printf ("x1:%6.2f y1:%6.2f code1:%2d x2:%6.2f y2:%6.2f code2:%2d\n", x1, y1, c1, x2, y2, c2); #endif while ( c1 || c2 ) { if ( c1 & c2 ) { @@ -292,7 +291,7 @@ clip_triangle (double& x1, double& y1, double& x2, double& y2, const double u, c } else { x2=x; y2=y; c2=tcode (x2,y2,m,b,clip_xaxis); } -#ifdef DEBUG +#if 0 printf ("x1:%6.2f y1:%6.2f code1:%2d x2:%6.2f y2:%6.2f code2:%2d\n", x1, y1, c1, x2, y2, c2); #endif } -- 2.34.1