Update StraightLineView.cpp

This commit is contained in:
xixu-me committed 2024-09-19 14:46:21 +08:00
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);