Support calculation of inflated bounds for rotation transform operations.
commit908af4206f1266b0c164db09252cfa7c18256228
authorvollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 10 Oct 2013 22:22:42 +0000 (10 22:22 +0000)
committervollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 10 Oct 2013 22:22:42 +0000 (10 22:22 +0000)
tree8eb556450c78d09e577be803f0c162f5dee72e5b
parentd9509640dc002ccd8a7461684efb70ddd859004d
Support calculation of inflated bounds for rotation transform operations.

We compute the inflated bound for a rotated 3d box by computing the axis aligned
bounding boxes for the arcs described by the corners during the rotation and
taking the union of those boxes. Lots of fun math.

R=ajuma@chromium.org
BUG=None

Review URL: https://codereview.chromium.org/26672005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228026 0039d316-1c4b-4281-b951-d872f2087c98
cc/animation/transform_operation.cc
cc/animation/transform_operations_unittest.cc
ui/gfx/transform.h