Log In  


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)

Cart #dimumayuyi-0 | 2020-09-26 | Code ▽ | Embed ▽ | No License
2

2


1

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


(ignore me)


2

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.

Cart #fatufabuza-0 | 2020-09-27 | Code ▽ | Embed ▽ | No License
2


@Felice Oh that's a much better way to show it, making the squares spin was too artsy haha


2

Fixed for 0.2.2 -- thanks for the nice test carts @db0z, @Felice

A souvenir from testing:



[Please log in to post a comment]