Why does it glitch so much tho 🤔
8 comments
@grishka It was the third one. I had some edge smoothing to fix an edge case that was solved by something else. But that smoothing ended up causing some mesh points to be calculated outside of UV coordinate space. Works like a charm now sam henri gold, amazing. Several years ago I wanted to build an app called "widget spinner" where it's a fidget spinner but you spin the entire window containing it. I didn't get it to work the way I imagined. Now that I know about this API I'm gonna try it again sam henri gold, yeah it works. There's also CGSSetWindowTransform if you don't need a mesh, so I used that instead @grishka Heh, that's neat. I’m thinking they added that for all of those Exposé UIs back in the 2000s @samhenrigold (Smithereen still doesn't support video) It's so cursed. Now it needs some inertia to feel like the real thing |
@grishka I can think of a few reasons:
1. This API has been around for ages and it might just be more broken than it was back in 2003
2. I need to clamp a value somewhere and it’s just been in my blind spot
3. I’m just bad at mesh transforms