com.croftsoft.core.media.jogl.render
Class JoglSpinCube
java.lang.Object
com.croftsoft.core.media.jogl.render.JoglSpinCube
- All Implemented Interfaces:
- JoglRenderer
public final class JoglSpinCube
- extends Object
- implements JoglRenderer
Displays a spinning colored cube.
The angular velocity is subjected to uniform random accelerations.
The maximum magnitude of the random accelerations is set by the
perturbation factor.
- Since:
- 2005-08-15
- Version:
- $Date: 2008/05/17 01:32:43 $
- Author:
- David Wallace Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JoglSpinCube
public JoglSpinCube(JoglSpinCube.Model model)
- Main constructor.
init
public void init(GL gl)
- Specified by:
init
in interface JoglRenderer
destroy
public void destroy(GL gl)
- Specified by:
destroy
in interface JoglRenderer
setBounds
public void setBounds(GL gl,
int x,
int y,
int width,
int height)
- Specified by:
setBounds
in interface JoglRenderer
render
public void render(GL gl)
- Specified by:
render
in interface JoglRenderer
CroftSoft Core Javadoc (2008-09-28 20:58:02)