projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r246: More modifications for MSVC
[ctsim.git]
/
libctsupport
/
clip.cpp
diff --git
a/libctsupport/clip.cpp
b/libctsupport/clip.cpp
index f99c20fa46e0dec770bfdc50cbfe305f261a5896..2123c29f0fe6b9b6a63d141b3cb52efaa685e057 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.
4 2000/07/23 01:49:0
3 kevin Exp $
+** $Id: clip.cpp,v 1.
5 2000/12/06 01:46:4
3 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
@@
-331,7
+331,7
@@
tcode (const double x, const double y, const double m, const double b, const int
static int rectcode (double x, double y, const double rect[4]);
static int rectcode (double x, double y, const double rect[4]);
-int
+bool
\r
clip_rect (double& x1, double& y1, double& x2, double& y2, const double rect[4])
{
double x = 0, y = 0;
clip_rect (double& x1, double& y1, double& x2, double& y2, const double rect[4])
{
double x = 0, y = 0;