ch.claudio.jogl
Class Pyramid

java.lang.Object
  extended by ch.claudio.jogl.Pyramid

public class Pyramid
extends java.lang.Object


Constructor Summary
Pyramid()
           
 
Method Summary
 void display(GLAutoDrawable drawable)
          Called by the drawable to initiate OpenGL rendering by the client.
 void displayChanged(GLAutoDrawable drawable, boolean modeChanged, boolean deviceChanged)
           
 void init(GLAutoDrawable drawable)
          Called by the drawable immediately after the OpenGL context is initialized for the first time.
static void main(java.lang.String[] args)
           
 void reshape(GLAutoDrawable drawable, int x, int y, int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pyramid

public Pyramid()
Method Detail

init

public void init(GLAutoDrawable drawable)
Called by the drawable immediately after the OpenGL context is initialized for the first time. Can be used to perform one-time OpenGL initialization such as setup of lights and display lists.

Parameters:
drawable - The GLDrawable object.

display

public void display(GLAutoDrawable drawable)
Called by the drawable to initiate OpenGL rendering by the client. After all GLEventListeners have been notified of a display event, the drawable will swap its buffers if necessary.

Parameters:
gLDrawable - The GLDrawable object.

displayChanged

public void displayChanged(GLAutoDrawable drawable,
                           boolean modeChanged,
                           boolean deviceChanged)

reshape

public void reshape(GLAutoDrawable drawable,
                    int x,
                    int y,
                    int width,
                    int height)

main

public static void main(java.lang.String[] args)