From dd35e0b915c0b61438b961b791eac9d200eecd27 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Wed, 1 Feb 2006 23:12:52 +0000 Subject: Fixed potential problem in TextureConvert demo where it wasn't explicitly requesting a single-buffered pbuffer. Exposed gear rendering routine from Gears demo as public static in anticipation of forthcoming tiled rendering demo. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@170 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4 --- src/demos/gears/Gears.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/demos/gears/Gears.java') diff --git a/src/demos/gears/Gears.java b/src/demos/gears/Gears.java index c585527..a134614 100644 --- a/src/demos/gears/Gears.java +++ b/src/demos/gears/Gears.java @@ -149,12 +149,12 @@ public class Gears implements GLEventListener, MouseListener, MouseMotionListene public void displayChanged(GLAutoDrawable drawable, boolean modeChanged, boolean deviceChanged) {} - private void gear(GL gl, - float inner_radius, - float outer_radius, - float width, - int teeth, - float tooth_depth) + public static void gear(GL gl, + float inner_radius, + float outer_radius, + float width, + int teeth, + float tooth_depth) { int i; float r0, r1, r2; -- cgit v1.2.3