Content deleted Content added
Added code to catch errors on lines with zero length. In that case algorithm returns the value of the pixel it is in. |
|||
Line 19:
function round(x) is
if x < 0
return ipart(x - 0.5)
return ipart(x + 0.5)
|