org.auxilum.opengl.scene
Class Scene

java.lang.Object
  extended byorg.auxilum.opengl.scene.Scene

public class Scene
extends java.lang.Object


Constructor Summary
Scene()
          Default constructor
 
Method Summary
 void addModel(Model model)
          Adds a new model to the scene
 int getDisplayListIndex(java.lang.String model)
           
 Model getModel(java.lang.String modelName)
          Returns the model specified by modelName
 void prepareScene(net.java.games.jogl.GL gl, net.java.games.jogl.GLU glu)
           
 boolean unloadModel(java.lang.String modelName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scene

public Scene()
Default constructor

Method Detail

addModel

public void addModel(Model model)
Adds a new model to the scene


getModel

public Model getModel(java.lang.String modelName)
Returns the model specified by modelName


unloadModel

public boolean unloadModel(java.lang.String modelName)

prepareScene

public void prepareScene(net.java.games.jogl.GL gl,
                         net.java.games.jogl.GLU glu)

getDisplayListIndex

public int getDisplayListIndex(java.lang.String model)