Package com.io7m.jcamera.examples.jogl
Class ExampleSphericalGLListener
java.lang.Object
com.io7m.jcamera.examples.jogl.ExampleSphericalGLListener
- All Implemented Interfaces:
com.jogamp.opengl.GLEventListener,EventListener
public final class ExampleSphericalGLListener
extends Object
implements com.jogamp.opengl.GLEventListener
The GL event listener used to handle rendering and driving of the
simulation.
-
Constructor Summary
ConstructorsConstructorDescriptionExampleSphericalGLListener(ExampleRendererType in_renderer, JCameraSphericalSnapshot in_snap, ExampleSphericalSimulationType in_sim, AtomicReference<JCameraSphericalMouseRegion> in_mouse_region, com.jogamp.newt.opengl.GLWindow in_window) -
Method Summary
-
Constructor Details
-
ExampleSphericalGLListener
public ExampleSphericalGLListener(ExampleRendererType in_renderer, JCameraSphericalSnapshot in_snap, ExampleSphericalSimulationType in_sim, AtomicReference<JCameraSphericalMouseRegion> in_mouse_region, com.jogamp.newt.opengl.GLWindow in_window)
-
-
Method Details
-
init
public void init(com.jogamp.opengl.GLAutoDrawable drawable) - Specified by:
initin interfacecom.jogamp.opengl.GLEventListener
-
dispose
public void dispose(com.jogamp.opengl.GLAutoDrawable drawable) - Specified by:
disposein interfacecom.jogamp.opengl.GLEventListener
-
display
public void display(com.jogamp.opengl.GLAutoDrawable drawable) - Specified by:
displayin interfacecom.jogamp.opengl.GLEventListener
-
reshape
public void reshape(com.jogamp.opengl.GLAutoDrawable drawable, int x, int y, int width, int height) - Specified by:
reshapein interfacecom.jogamp.opengl.GLEventListener
-