diff options
author | shawnsingh@google.com <shawnsingh@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-28 23:49:26 +0000 |
---|---|---|
committer | shawnsingh@google.com <shawnsingh@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-28 23:49:26 +0000 |
commit | 2c7cd6d2b9b4180cbf8f5067cf9c21e3c8051b73 (patch) | |
tree | fc3598a693c1649888f42c14485cfaa8c8c448ba /cc/math_util.h | |
parent | f657203ad9a1a67d54d507652b613e80f9f80a15 (diff) | |
download | chromium_src-2c7cd6d2b9b4180cbf8f5067cf9c21e3c8051b73.zip chromium_src-2c7cd6d2b9b4180cbf8f5067cf9c21e3c8051b73.tar.gz chromium_src-2c7cd6d2b9b4180cbf8f5067cf9c21e3c8051b73.tar.bz2 |
Move temporary MathUtil wrappers to permanent home in gfx::Transform
This patch moves some of the temporary wrappers to their permanent home. Unit
tests remain in math_util_unittests for now, but no test coverage is lost.
Added 3 static accessors to Vector3dF help readability when calling RotateAbout().
BUG=159972
Review URL: https://codereview.chromium.org/11418197
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170099 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/math_util.h')
-rw-r--r-- | cc/math_util.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cc/math_util.h b/cc/math_util.h index 99ee46c..e3ed2d3 100644 --- a/cc/math_util.h +++ b/cc/math_util.h @@ -120,11 +120,7 @@ public: // // TODO(shawnsingh, vollick) we should phase out as much as possible of // these temporary functions, putting functionality into gfx::Transform. - static bool isBackFaceVisible(const gfx::Transform&); - static bool isIdentityOrTranslation(const gfx::Transform&); - static bool hasPerspective(const gfx::Transform&); static void rotateEulerAngles(gfx::Transform*, double eulerX, double eulerY, double eulerZ); - static void rotateAxisAngle(gfx::Transform*, double i, double j, double k, double degrees); static gfx::Transform inverse(const gfx::Transform&); static gfx::Transform to2dTransform(const gfx::Transform&); // Note carefully: the args here are labeled as per Webcore indexing conventions. |