hmi.debug.physics
Class COMGeometry
java.lang.Object
hmi.debug.physics.COMGeometry
- All Implemented Interfaces:
- GLRenderObject
public class COMGeometry
- extends Object
- implements GLRenderObject
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
radius
float radius
numSlices
int numSlices
numStacks
int numStacks
drho
float drho
dtheta
float dtheta
ds
float ds
dt
float dt
sphereList
int sphereList
pHuman
PhysicalHumanoid pHuman
CoM
private float[] CoM
CoMDiff
private float[] CoMDiff
COMGeometry
public COMGeometry(PhysicalHumanoid ph,
float radius,
int numSlices,
int numStacks)
- Create a new COM object
glInit
public void glInit(GLRenderContext gl)
- Description copied from interface:
GLRenderObject
- Called during OpenGL initialization.
- Specified by:
glInit in interface GLRenderObject
glRender
public void glRender(GLRenderContext gl)
- Description copied from interface:
GLRenderObject
- Called during openGL rendering.
- Specified by:
glRender in interface GLRenderObject
render
private void render(GLRenderContext gl)