cocos2d/cocos2d-x — pull request #2683 by DarraghCoy (2013-05-30 14:01:55+00:00)
Title: Add CCRect::unionWithRect

Add a new CCRect utility function called 'unionWithRect' which computes the minimum rectangle that contains the current rectangle and another given rectangle, similar to to the following .NET function: http://msdn.microsoft.com/en-us/library/ms521839.aspx