org.xith3d.render.jsr231
Class GLUSingleton

java.lang.Object
  extended by org.xith3d.render.jsr231.GLUSingleton

public class GLUSingleton
extends java.lang.Object

This class holds a reference to a shared GLU object. As of jsr231, the GLU object can be instanciated from everywhere, but calls to GLU routines must be done when the GL Context is available.


Method Summary
static com.sun.opengl.util.GLUT getGLUT()
           
static javax.media.opengl.glu.GLU instance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static javax.media.opengl.glu.GLU instance()
Returns:
the shared instance of the GLU used by this package objects.

getGLUT

public static com.sun.opengl.util.GLUT getGLUT()
Returns:
the shared instance of the GLU used by this package objects.