projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r182: *** empty log message ***
[ctsim.git]
/
libctsupport
/
clip.cpp
diff --git
a/libctsupport/clip.cpp
b/libctsupport/clip.cpp
index ebf94c2ee02c7f3485fc8ea0a841219af70f2b07..f99c20fa46e0dec770bfdc50cbfe305f261a5896 100644
(file)
--- a/
libctsupport/clip.cpp
+++ b/
libctsupport/clip.cpp
@@
-14,7
+14,7
@@
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: clip.cpp,v 1.
3 2000/06/22 10:17:28
kevin Exp $
+** $Id: clip.cpp,v 1.
4 2000/07/23 01:49:03
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
**
** 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
@@
-251,8
+251,7
@@
clip_triangle (double& x1, double& y1, double& x2, double& y2, const double u, c
int c2 = tcode (x2, y2, m, b, clip_xaxis);
#ifdef DEBUG
int c2 = tcode (x2, y2, m, b, clip_xaxis);
#ifdef DEBUG
- crt_set_cpos (1,1);
- printf ("x1:%6.2f y1:%6.2f code1:%2d x2:%6.2f y2:%6.2f code2:%2d",
+ 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 ) {
x1, y1, c1, x2, y2, c2);
#endif
while ( c1 || c2 ) {
@@
-294,8
+293,7
@@
clip_triangle (double& x1, double& y1, double& x2, double& y2, const double u, c
x2=x; y2=y; c2=tcode (x2,y2,m,b,clip_xaxis);
}
#ifdef DEBUG
x2=x; y2=y; c2=tcode (x2,y2,m,b,clip_xaxis);
}
#ifdef DEBUG
- crt_set_cpos (1,1);
- printf ("x1:%6.2f y1:%6.2f code1:%2d x2:%6.2f y2:%6.2f code2:%2d", x1, y1, c1, x2, y2, c2);
+ 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
}
#endif
}