summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorweigao <weigao@multicorewareinc.com>2014-05-23 05:03:37 -0700
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-05-24 10:48:44 +0200
commit7c603d4a2313de4c870e0db792e2d7fd3dc02efa (patch)
tree32a39ec661dbb3592c3bb203a3f99cb3a6c4b031
parentf09e3210014a7b61f1b4bb995984e8076f519281 (diff)
fix the polygon normal
Change-Id: I89f27b409cf04f98f90bdc61396a8c58ec91d7f7
-rw-r--r--chart2/source/view/main/GL3DRenderer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/GL3DRenderer.cxx b/chart2/source/view/main/GL3DRenderer.cxx
index 6f4636b37333..8112ed1ee243 100644
--- a/chart2/source/view/main/GL3DRenderer.cxx
+++ b/chart2/source/view/main/GL3DRenderer.cxx
@@ -939,7 +939,7 @@ void OpenGL3DRenderer::AddPolygon3DObjectNormalPoint(float x, float y, float z)
{
m_Polygon3DInfo.normals = new Normals3D;
}
- m_Polygon3DInfo.normals->push_back(glm::vec3(x, -y, z));
+ m_Polygon3DInfo.normals->push_back(glm::vec3(x, y, z));
}
}