When using a DropShadow object with the DropShadow::drawForRectangle function, there are visible gaps between the corner segments.
It seems this line here:
const float radiusInset = (radius + 1) / 2.0f;
right at the start of the drawForRectangle function is to blame.
If I change it to
const float radiusInset = radius / 2.0f;
the gaps go away. No overlap or anything was noticed, it looks simply perfect.
Should I open an issue on GitHub or does this suffice?