com.bulletphysics.demos.genericjoint
Class GenericJointDemo

java.lang.Object
  extended by com.bulletphysics.demos.opengl.DemoApplication
      extended by com.bulletphysics.demos.genericjoint.GenericJointDemo

public class GenericJointDemo
extends DemoApplication


Field Summary
 
Fields inherited from class com.bulletphysics.demos.opengl.DemoApplication
azi, cameraDistance, cameraPosition, cameraTargetPosition, cameraUp, clock, debugMode, dynamicsWorld, ele, forwardAxis, gl, glutScreenHeight, glutScreenWidth, gShapePtr, idle, lastKey, maxNumObjects, numObjects, pickConstraint, pickedBody, scaleBottom, scaleFactor, ShootBoxInitialSpeed, shootBoxShape, singleStep, startTransforms, stepping
 
Constructor Summary
GenericJointDemo(IGL gl)
           
 
Method Summary
 void clientMoveAndDisplay()
           
 void displayCallback()
           
 void initPhysics()
           
 void keyboardCallback(char key, int x, int y)
           
static void main(java.lang.String[] args)
           
 void spawnRagdoll()
           
 void spawnRagdoll(boolean random)
           
 
Methods inherited from class com.bulletphysics.demos.opengl.DemoApplication
clientResetScene, destroy, drawString, getCameraDistance, getCameraPosition, getCameraTargetPosition, getDebugMode, getDeltaTimeMicroseconds, getDynamicsWorld, getRayTo, isIdle, localCreateRigidBody, mouseFunc, mouseMotionFunc, moveAndDisplay, myinit, renderme, resetPerspectiveProjection, reshape, setCameraDistance, setCameraForwardAxis, setCameraUp, setDebugMode, setIdle, setOrthographicProjection, shootBox, showProfileInfo, specialKeyboard, specialKeyboardUp, stepBack, stepFront, stepLeft, stepRight, toggleIdle, updateCamera, zoomIn, zoomOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericJointDemo

public GenericJointDemo(IGL gl)
Method Detail

initPhysics

public void initPhysics()
Specified by:
initPhysics in class DemoApplication

spawnRagdoll

public void spawnRagdoll()

spawnRagdoll

public void spawnRagdoll(boolean random)

clientMoveAndDisplay

public void clientMoveAndDisplay()
Specified by:
clientMoveAndDisplay in class DemoApplication

displayCallback

public void displayCallback()
Overrides:
displayCallback in class DemoApplication

keyboardCallback

public void keyboardCallback(char key,
                             int x,
                             int y)
Overrides:
keyboardCallback in class DemoApplication

main

public static void main(java.lang.String[] args)
                 throws org.lwjgl.LWJGLException
Throws:
org.lwjgl.LWJGLException