jmetest.renderer
Class TestPQTorus

java.lang.Object
  extended bycom.jme.app.AbstractGame
      extended bycom.jme.app.BaseGame
          extended bycom.jme.app.SimpleGame
              extended byjmetest.renderer.TestPQTorus

public class TestPQTorus
extends SimpleGame

TestPQTorus demonstrates the construction and animation of a parameterized torus, also known as a pq torus.

Version:
$Id: TestPQTorus.java,v 1.16 2005/02/10 21:48:21 renanse Exp $
Author:
Eric Woroshow

Field Summary
 
Fields inherited from class com.jme.app.SimpleGame
cam, fontLocation, fps, fpsNode, input, lightState, pause, rootNode, showBounds, tempBuffer, timer, tpf, updateBuffer, wireState
 
Fields inherited from class com.jme.app.AbstractGame
ALWAYS_SHOW_PROPS_DIALOG, display, finished, FIRSTRUN_OR_NOCONFIGFILE_SHOW_PROPS_DIALOG, NEVER_SHOW_PROPS_DIALOG, properties
 
Constructor Summary
TestPQTorus()
           
 
Method Summary
static void main(java.lang.String[] args)
          Entry point for the test.
protected  void simpleInitGame()
          builds the trimesh.
protected  void simpleUpdate()
          Animates the PQ torus.
 
Methods inherited from class com.jme.app.SimpleGame
cleanup, initGame, initSystem, reinit, render, simpleRender, update
 
Methods inherited from class com.jme.app.BaseGame
quit, start
 
Methods inherited from class com.jme.app.AbstractGame
assertDisplayCreated, finish, getAttributes, getVersion, setDialogBehaviour, setDialogBehaviour, setDialogBehaviour
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestPQTorus

public TestPQTorus()
Method Detail

main

public static void main(java.lang.String[] args)
Entry point for the test.

Parameters:
args - arguments passed to the program; ignored

simpleUpdate

protected void simpleUpdate()
Animates the PQ torus.

Overrides:
simpleUpdate in class SimpleGame

simpleInitGame

protected void simpleInitGame()
builds the trimesh.

Specified by:
simpleInitGame in class SimpleGame
See Also:
SimpleGame.initGame()