diff options
author | Ian C <ianc@noddybox.co.uk> | 2005-04-27 00:31:59 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2005-04-27 00:31:59 +0000 |
commit | cb93efde83e80d85fdfb899610ce6bbf0dbc6f94 (patch) | |
tree | 0c7890984656654f5634d8e6527734f7221c6005 | |
parent | 3ecd4938767e9fab5a80861fc755dd303da7cfb3 (diff) |
Got rid of ludicrously wrong glLoadIdentity() in model
-rw-r--r-- | opengl/generate.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/opengl/generate.cpp b/opengl/generate.cpp index 94da651..53a6728 100644 --- a/opengl/generate.cpp +++ b/opengl/generate.cpp @@ -409,7 +409,6 @@ void Generate::GenerateC(HWND parent) m_indent++; Output("glPushMatrix();\n"); - Output("glLoadIdentity();\n"); Output("glTranslatef(x,y,z);\n"); Output("glRotatef(rot_x,1,0,0);\n"); Output("glRotatef(rot_y,0,1,0);\n"); @@ -569,7 +568,6 @@ void Generate::GenerateBlitzMax(HWND parent) m_indent++; Output("glPushMatrix()\n"); - Output("glLoadIdentity()\n"); Output("glTranslatef(x,y,z)\n"); Output("glRotatef(rot_x,1,0,0)\n"); Output("glRotatef(rot_y,0,1,0)\n"); |