data
Interface Drawable

All Known Implementing Classes:
Edge, Node, Rings, Sprite

public interface Drawable

interface for draw-able OpenGL objects

Author:
Felix Fleiß (MatrNr: 0527038)

Method Summary
 boolean draw(javax.media.opengl.GL gl)
          draws an object in OpenGL context
 boolean init(javax.media.opengl.GL gl)
          initializes the Drawable in OpenGL context
 

Method Detail

draw

boolean draw(javax.media.opengl.GL gl)
draws an object in OpenGL context

Parameters:
gl - GL-context
Returns:
false if fails ton draaw and shall be deleted

init

boolean init(javax.media.opengl.GL gl)
initializes the Drawable in OpenGL context

Parameters:
gl - gl context
Returns:
false if fails to initialize