r7061: initial property settings
[ctsim.git] / libctsupport / clip.cpp
index e11e33442faf6802b024320ad5bc63c9c37f421e..dac3de1e9d8ce88b6201e0f945e90ddb67e441bd 100644 (file)
@@ -12,9 +12,9 @@
 **     the SNARK size of the object (u,v)
 **
 **  This is part of the CTSim program
-**  Copyright (C) 1983-2000 Kevin Rosenberg
+**  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: clip.cpp,v 1.7 2001/01/02 16:02:13 kevin Exp $
+**  $Id$
 **
 **  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
   }