cocos2d/cocos2d-x — pull request #2684 by DarraghCoy (2013-05-30 14:03:59+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