X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctsupport%2Fclip.cpp;h=2123c29f0fe6b9b6a63d141b3cb52efaa685e057;hp=f99c20fa46e0dec770bfdc50cbfe305f261a5896;hb=ee0105d74fec9d6bfd236e22e9e1d315e46c568e;hpb=806adf54f5b8d061662696b3b498bfab3cd8b2e6 diff --git a/libctsupport/clip.cpp b/libctsupport/clip.cpp index f99c20f..2123c29 100644 --- 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 ** -** $Id: clip.cpp,v 1.4 2000/07/23 01:49:03 kevin Exp $ +** $Id: clip.cpp,v 1.5 2000/12/06 01:46:43 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 @@ -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]); -int +bool clip_rect (double& x1, double& y1, double& x2, double& y2, const double rect[4]) { double x = 0, y = 0;