diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-04-08 08:58:18 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-04-08 13:06:07 +0200 |
commit | f6406c910a60c075ca3c4928c7f451eae3ab751f (patch) | |
tree | 8255948e56bb100740282ed3e66b39803a39e929 /chart2 | |
parent | 5f7e661732414bc15650ff17539556f9489398d9 (diff) |
Need 3 points to define a rectangle in 3D.
Change-Id: I47e212f922b67ced6c6cd63bf90133c024cf0af4
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/inc/3DChartObjects.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chart2/source/view/inc/3DChartObjects.hxx b/chart2/source/view/inc/3DChartObjects.hxx index e4e3709eed06..06121f486ca6 100644 --- a/chart2/source/view/inc/3DChartObjects.hxx +++ b/chart2/source/view/inc/3DChartObjects.hxx @@ -49,6 +49,7 @@ class Text : public Renderable3DObject private: BitmapEx maText; glm::vec3 maTopLeft; + glm::vec3 maTopRight; glm::vec3 maBottomRight; }; @@ -56,6 +57,7 @@ class Rectangle : public Renderable3DObject { private: glm::vec3 maTopLeft; + glm::vec3 maTopRight; glm::vec3 maBottomRight; Color maColor; // RGBA fill color Color maLineColor; // RGBA line color @@ -66,7 +68,6 @@ class Camera : public Renderable3DObject public: Camera(); private: - glm::vec3 maPos; glm::vec3 maDirection; }; |