530 B
530 B
Notes
Rounded Rectangle
Someone suggested this:
you could do something like this in your shader
desmos example
I imagine it wuold be pretty easy to turn this into a parametric function and then you could just get verticies via plugging numbers into it...
not terrible, just gotta deal with the discontinuities which you could probably do by just rejecting the points with nan/infinity coordinates