|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bulletphysics.demos.applet.Quadric
com.bulletphysics.demos.applet.Sphere
public class Sphere
Sphere.java Created 23-dec-2003
Field Summary |
---|
Fields inherited from class com.bulletphysics.demos.applet.Quadric |
---|
drawStyle, GLU_FILL, GLU_INSIDE, GLU_LINE, GLU_NONE, GLU_OUTSIDE, GLU_POINT, GLU_SILHOUETTE, GLU_SMOOTH, normals, orientation, textureFlag |
Constructor Summary | |
---|---|
Sphere()
Constructor |
Method Summary | |
---|---|
void |
draw(Graphics3D gl,
float radius,
int slices,
int stacks)
draws a sphere of the given radius centered around the origin. |
Methods inherited from class com.bulletphysics.demos.applet.Quadric |
---|
cos, getDrawStyle, getNormals, getOrientation, getTextureFlag, normal3f, setDrawStyle, setNormals, setOrientation, setTextureFlag, sin, TXTR_COORD |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sphere()
Method Detail |
---|
public void draw(Graphics3D gl, float radius, int slices, int stacks)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |