Kaydet (Commit) 7c603d4a authored tarafından weigao's avatar weigao Kaydeden (comit) Markus Mohrhard

fix the polygon normal

Change-Id: I89f27b409cf04f98f90bdc61396a8c58ec91d7f7
üst f09e3210
...@@ -939,7 +939,7 @@ void OpenGL3DRenderer::AddPolygon3DObjectNormalPoint(float x, float y, float z) ...@@ -939,7 +939,7 @@ void OpenGL3DRenderer::AddPolygon3DObjectNormalPoint(float x, float y, float z)
{ {
m_Polygon3DInfo.normals = new Normals3D; 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));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment