diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-18 05:06:52 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-18 05:06:52 +0000 |
commit | 6e252d49c9bb6b805478560dd99b83ff1d1411de (patch) | |
tree | 71ff1d750cc7225c551b390183a6ef0d47d4b43c /include/core/SkScalar.h | |
parent | e15b2f5296a65c92be477a71ddf9eae9d95eddce (diff) |
move SkScalarMean into its only caller, reducing out public API exposure
BUG=
Review URL: https://codereview.chromium.org/117973002
git-svn-id: http://skia.googlecode.com/svn/trunk@12732 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkScalar.h')
-rw-r--r-- | include/core/SkScalar.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/core/SkScalar.h b/include/core/SkScalar.h index 4ab361604f..10bfa7297c 100644 --- a/include/core/SkScalar.h +++ b/include/core/SkScalar.h @@ -139,9 +139,6 @@ inline SkScalar SkScalarSquare(SkScalar x) { return x * x; } /** Returns the average of two SkScalars (a+b)/2 */ #define SkScalarAve(a, b) (((a) + (b)) * 0.5f) -/** Returns the geometric mean of two SkScalars -*/ -#define SkScalarMean(a, b) sk_float_sqrt((float)(a) * (b)) /** Returns one half of the specified SkScalar */ #define SkScalarHalf(a) ((a) * 0.5f) |