zepto8
zepto8 copied to clipboard
clamp here could not always give the correct value
https://github.com/samhocevar/zepto8/blob/0f704a3e9141584aa29b83571c63f4e891352a2d/src/pico8/gfx.cpp#L596
The slop of the line would be wrong after clamp.
That value should not affect the slope of the line, which is always (y1 - y0) / (x1 - x0)
, but I see how it can offset the whole line. Thanks for pointing this out!