Example #1
0
  /**
   * Main drawing function. Inside this function the main part of the drawing is done.
   *
   * @param drawable the drawable object that is used to trigger the drawing actions
   */
  @Override
  public void display(final GLAutoDrawable drawable) {
    final GL gl = drawable.getGL();
    gl.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT);

    manager.draw();
  }