Content deleted Content added
Commented the sample code to make the algorithm clearer |
|||
Line 35:
for(k=0; k<steps; k++) {
// the points are incremented an equal amount for every step
x += xIncrement;
y += yIncrement;
|