diff options
author | Cary Clark <caryclark@skia.org> | 2017-10-18 11:46:18 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-18 16:09:46 +0000 |
commit | e4442cb0b537720ab32106b3b5353dbb78f11b26 (patch) | |
tree | c96d6669865bc85ef278a178d501bd60d29cc2eb /include/core/SkPoint3.h | |
parent | b4379132d12cd11e52944331487b045f1f32989d (diff) |
convert mapHomogeneousPoints to SkPoint3
SkMatrix::mapHomogeneousPoints takes an array of SkScalar,
but expects essentially SkPoint3, so make it so.
R: robertphillips@google.com, reed@google.com
Bug: skia:6898
Change-Id: Ibaf8b05c08b7df16c67d6a77d914667ace9a70da
Reviewed-on: https://skia-review.googlesource.com/58380
Commit-Queue: Cary Clark <caryclark@skia.org>
Commit-Queue: Cary Clark <caryclark@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include/core/SkPoint3.h')
-rw-r--r-- | include/core/SkPoint3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkPoint3.h b/include/core/SkPoint3.h index 6f69f1c4ea..d4a2023082 100644 --- a/include/core/SkPoint3.h +++ b/include/core/SkPoint3.h @@ -8,7 +8,7 @@ #ifndef SkPoint3_DEFINED #define SkPoint3_DEFINED -#include "SkScalar.h" +#include "SkPoint.h" struct SK_API SkPoint3 { SkScalar fX, fY, fZ; |