X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fgraph3dview.cpp;fp=src%2Fgraph3dview.cpp;h=474c52458f4f9adcba8937d9b40e4f5f7f7528e9;hp=8855cdade69acebd39f0de729b63c5ea8c952bd1;hb=f64eb7bcd1816ae49d7d240acfbe65b499a55b27;hpb=27baab81972b095035e92f958843f86bf2632f68 diff --git a/src/graph3dview.cpp b/src/graph3dview.cpp index 8855cda..474c524 100644 --- a/src/graph3dview.cpp +++ b/src/graph3dview.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: graph3dview.cpp,v 1.23 2001/09/24 10:05:01 kevin Exp $ +** $Id: graph3dview.cpp,v 1.24 2001/09/24 11:34:06 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -287,7 +287,8 @@ Graph3dFileView::CreateDisplayList() dYOffset = 0; double dXPos = -dXOffset; - for (unsigned ix = 0; ix < nx - 1; ix++, dXPos++) { + unsigned int ix; + for (ix = 0; ix < nx - 1; ix++, dXPos++) { double dYPos = -dYOffset; glBegin(GL_QUAD_STRIP); double p1[3], p2[3], p3[3], n1[3]; @@ -335,7 +336,7 @@ Graph3dFileView::CreateDisplayList() glNewList (DISPLAYLIST_NO_COLOR, GL_COMPILE); dXPos = -dXOffset; - for (unsigned int ix = 0; ix < nx - 1; ix++, dXPos++) { + for (ix = 0; ix < nx - 1; ix++, dXPos++) { double dYPos = -dYOffset; glBegin(GL_QUAD_STRIP); double p1[3], p2[3], p3[3], n1[3];