X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=libctgraphics%2Fsgp.cpp;h=1062901737201670c32db960935990d70bc26d5e;hb=980bef9b95bef1ab728634181a5672088fd47066;hp=bc789cf0fea2f685eed345e84b778d4b58741177;hpb=08a5cd04c3994d5ea24713b9b000791bd2e406fe;p=ctsim.git diff --git a/libctgraphics/sgp.cpp b/libctgraphics/sgp.cpp index bc789cf..1062901 100644 --- a/libctgraphics/sgp.cpp +++ b/libctgraphics/sgp.cpp @@ -7,7 +7,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: sgp.cpp,v 1.7 2000/07/29 19:50:08 kevin Exp $ +** $Id: sgp.cpp,v 1.8 2000/07/31 14:48:35 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 @@ -261,7 +261,7 @@ SGP::lineAbs (double x, double y) double x2 = x; double y2 = y; - mc_to_ndc.transformPoint (&x1, &y2); + mc_to_ndc.transformPoint (&x2, &y2); if (clip_rect (x1, y1, x2, y2, viewNDC) == true) { // clip to viewport stylusNDC (x1, y1, 0); // move to first point