Content deleted Content added
No edit summary |
correct variables v1,v2 which should be y1,y2, and fix indentation to use tabs consistently |
||
Line 16:
'''function''' rfpart(x)
'''return''' 1 - fpart(x)
'''function''' drawLine(x1,
''// check that x1 < x2''
'''if x2 < x1
swap x1, x2
dx = x2 - x1
dy = y2 - y1
|