Content deleted Content added
→Algorithm: Fixes incorrect rendering of endpoints. Previously, integer endpoints were rendered at 50% brightness rather than 100%, contrary to Wu’s original 1991 algorithm. |
m →Algorithm: Remove unused round() function, no longer needed after endpoint fix. |
||
Line 25:
function ipart(x) is
return floor(x)
// fractional part of x
|