found a bug in 0.2.1b (also current bbs version) while using tline() to shear rectangles
see the cart
observe that there's only 2 configurations that get chopped incorrectly (one where the startpoint is below the screen and one where the endpoint is above the screen) (although others also have ugly artifacts)
This happened to me too when I was using tline() too close to the edges if the screen, in (https://www.lexaloffle.com/bbs/?pid=80206#p) you can move the flag up/down and I noticed that when it touches or gets close to for the bottom it disapears ;\
I think that's related
Okay, on top of the line culling bug, it's also actually failing to clip to the correct pixel on all four edges, leaving 1-pixel gaps.
I took a cue from @db0z's repro and made a new one that shows the 1-pixel wide glitches on all four edges, which happen with both line() and tline(), along with the original line-culling bugs that happen on top and bottom edges.
Adjust the speed with ▲/▼, ❎ to pause, and 🅾️ to toggle tline() vs. line().
Note: The additional 1-pixel-wide bug is easier to see in line() mode.
[Please log in to post a comment]