cocos2d/cocos2d-x — pull request #3055 by DarraghCoy (2013-07-02 18:56:01+00:00)
Title: Add Rect::unionWithRect

Add a new Rect 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