diff options
| author | Chris Craik <ccraik@google.com> | 2013-12-13 21:55:49 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-12-13 21:55:50 +0000 |
| commit | 18809c063b89d9b235401d080b952885a4ef9628 (patch) | |
| tree | 7a73454d7d3007b5d08032bfff6515b435947fb2 /libs/hwui/Vector.h | |
| parent | f8bc964289df5ea53672df401c6d51dd47c02e53 (diff) | |
| parent | f57776b2d195f0937906eb88b777bb55ccc36967 (diff) | |
| download | frameworks_base-18809c063b89d9b235401d080b952885a4ef9628.zip frameworks_base-18809c063b89d9b235401d080b952885a4ef9628.tar.gz frameworks_base-18809c063b89d9b235401d080b952885a4ef9628.tar.bz2 | |
Merge "3d view system!"
Diffstat (limited to 'libs/hwui/Vector.h')
| -rw-r--r-- | libs/hwui/Vector.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libs/hwui/Vector.h b/libs/hwui/Vector.h index 497924e..5110272 100644 --- a/libs/hwui/Vector.h +++ b/libs/hwui/Vector.h @@ -107,6 +107,21 @@ struct Vector2 { } }; // class Vector2 +class Vector3 { +public: + float x; + float y; + float z; + + Vector3() : + x(0.0f), y(0.0f), z(0.0f) { + } + + Vector3(float px, float py, float pz) : + x(px), y(py), z(pz) { + } +}; + /////////////////////////////////////////////////////////////////////////////// // Types /////////////////////////////////////////////////////////////////////////////// |
