projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r1973: *** empty log message ***
[ctsim.git]
/
src
/
graph3dview.cpp
diff --git
a/src/graph3dview.cpp
b/src/graph3dview.cpp
index 554e00ed16a281a14fb74c7b04d66cdb54664b35..474c52458f4f9adcba8937d9b40e4f5f7f7528e9 100644
(file)
--- 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
**
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: graph3dview.cpp,v 1.2
2 2001/09/24 10:03:41
kevin Exp $
+** $Id: graph3dview.cpp,v 1.2
4 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
**
** 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;
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];
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;
glNewList (DISPLAYLIST_NO_COLOR, GL_COMPILE);
dXPos = -dXOffset;
- for (
unsigned
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];
double dYPos = -dYOffset;
glBegin(GL_QUAD_STRIP);
double p1[3], p2[3], p3[3], n1[3];