-
Notifications
You must be signed in to change notification settings - Fork 45
Problem with extend_rect #2
Copy link
Copy link
Open
Description
Hello - I have a problem with a code of extend_rect method, I think: it causes second and third Radio to be drawn very large. I have changed the code as below:
void extend_rect(Rect &r)
{
r.sx = std::max(r.sx, /_x + */sx);
r.sy = std::max(r.sy, /_y + */sy);
}
and it is now ok, but I wondering how does it worked before?
Regards
Pawel
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels