summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-05-16 08:40:11 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-05-16 08:40:11 +0200
commit5a9399a62873dae10e6486e8a6764b163283c0e1 (patch)
tree604efbb22cb6457de3b0e66e41f45c28585ddf0f /chart2
parent48eccfb812284f43ba24c3be3903537ce954944d (diff)
small hickup
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/charttypes/GL3DBarChart.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx
index 68c9093f21f7..3697903231bd 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -100,8 +100,8 @@ void GL3DBarChart::create3DShapes(const boost::ptr_vector<VDataSeries>& rDataSer
float nXPos = nIndex * (nBarSizeX + nBarDistanceX);
- glm::mat4 aScaleMatrix = glm::scale(nBarSizeX, nBarSizeY, static_cast<float>(0));
- glm::mat4 aTranslationMatrix = glm::translate(nXPos, nYPos, nVal);
+ glm::mat4 aScaleMatrix = glm::scale(nBarSizeX, nBarSizeY, nVal);
+ glm::mat4 aTranslationMatrix = glm::translate(nXPos, nYPos, static_cast<float>(0));
glm::mat4 aBarPosition = aTranslationMatrix * aScaleMatrix;
maShapes.push_back(new opengl3D::Bar(mpRenderer.get(), aBarPosition, nColor, nId++));