X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=libctsupport%2Fclip.cpp;h=44d982d2dff62c801bfaf61374e3fcf5056d24fb;hb=ca7c001fce978b680543f8338a404b8c0701a935;hp=3ff8b0874c4f59ceda261dc5aef59fefc0144fec;hpb=55426f4170ed9dc777c3cec3741e4a59e6eebd38;p=ctsim.git diff --git a/libctsupport/clip.cpp b/libctsupport/clip.cpp index 3ff8b08..44d982d 100644 --- a/libctsupport/clip.cpp +++ b/libctsupport/clip.cpp @@ -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.6 2000/12/06 15:17:51 kevin Exp $ +** $Id: clip.cpp,v 1.8 2001/01/27 21:02:20 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]); -bool +bool clip_rect (double& x1, double& y1, double& x2, double& y2, const double rect[4]) { double x = 0, y = 0;