aboutsummaryrefslogtreecommitdiffstats
path: root/demos/RonsDemos/steam.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2001-02-13 05:32:07 +0000
committerSven Gothel <[email protected]>2001-02-13 05:32:07 +0000
commit3e2b16a820bfe03f8f3837c3aaa615c8c4b7f18c (patch)
treed834a05eb37751b4c95045c3021589f2e22fcd9f /demos/RonsDemos/steam.java
parent91bc9d109b2d16e6d42f1fbcc9d3dbca51c40b69 (diff)
JAWT Support JDK >=1.3
Diffstat (limited to 'demos/RonsDemos/steam.java')
-rw-r--r--demos/RonsDemos/steam.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/RonsDemos/steam.java b/demos/RonsDemos/steam.java
index 3f19f7e..e89afde 100644
--- a/demos/RonsDemos/steam.java
+++ b/demos/RonsDemos/steam.java
@@ -95,7 +95,7 @@ public class steam extends SimpleGLAnimApplet1
private int list_flywheel_filled = 4;
private int list_flywheel_texture = 8;
/* Variable used in the creaton of glu objects */
- int obj; // (GLU quadric object)
+ long obj; // (GLU quadric object)
private PopupMenu menu = null;
private boolean menu_showing = false;
@@ -587,7 +587,7 @@ public class steam extends SimpleGLAnimApplet1
/* Draws a cylinder using glu function, drawing flat discs
at each end, to give the appearence of it being solid. */
private void myCylinder
- (int object, float outerRadius, float innerRadius, float length)
+ (long object, float outerRadius, float innerRadius, float length)
{
gl.glPushMatrix();
glu.gluCylinder(object, outerRadius, outerRadius, length, 20, 1);