projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r166: *** empty log message ***
[ctsim.git]
/
libctgraphics
/
sgp.cpp
diff --git
a/libctgraphics/sgp.cpp
b/libctgraphics/sgp.cpp
index bc789cf0fea2f685eed345e84b778d4b58741177..1062901737201670c32db960935990d70bc26d5e 100644
(file)
--- 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
**
** 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
**
** 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;
double x2 = x;
double y2 = y;
- mc_to_ndc.transformPoint (&x
1
, &y2);
+ mc_to_ndc.transformPoint (&x
2
, &y2);
if (clip_rect (x1, y1, x2, y2, viewNDC) == true) { // clip to viewport
stylusNDC (x1, y1, 0); // move to first point
if (clip_rect (x1, y1, x2, y2, viewNDC) == true) { // clip to viewport
stylusNDC (x1, y1, 0); // move to first point