Update StraightLineView.cpp
This commit is contained in:
1 parent
addc584799
commit
371a070797
1 file changed
-1
@@ -190,7 +190,6 @@ void CStraightLineView::BresenhamLine(CDC *pDC) {
|
||||
ptEnd = ptTemp;
|
||||
}
|
||||
// d = 0.5 - k;
|
||||
e = 0;
|
||||
for (ptTemp = ptOrigin, e = k; ptTemp.x < ptEnd.x; ptTemp.x++) {
|
||||
// DOUBLE factor = (DOUBLE)(ptTemp.x - ptOrigin.x) / totalSteps;
|
||||
// COLORREF color = interpolateColor(startColor, endColor, factor);
|
||||
|
||||
Reference in new issue
Block a user