From cb93efde83e80d85fdfb899610ce6bbf0dbc6f94 Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 27 Apr 2005 00:31:59 +0000 Subject: Got rid of ludicrously wrong glLoadIdentity() in model --- opengl/generate.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'opengl') 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"); -- cgit v1.2.3