Skip to content

Commit

Permalink
[SUTK] Renamed function name getRectRelative to getRectRelativeTo to …
Browse files Browse the repository at this point in the history
…emphasize the reference Rect/Container
  • Loading branch information
ravi688 committed Oct 8, 2024
1 parent d5b7f52 commit 7fb5336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sutk/include/sutk/Container.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ namespace SUTK
return { pos, localRect.getSize() };
}
// Calculates rect of this container's rect relative to the passed container's rect, i.e. 'relativeTo' container
Rect2Df getRectRelative(Container* relativeTo) const noexcept
Rect2Df getRectRelativeTo(Container* relativeTo) const noexcept
{
Rect2Df rect = getGlobalRect();
if(relativeTo != NULL)
Expand Down

0 comments on commit 7fb5336

Please sign in to comment.