public class Sphere extends Quadric
drawStyle, normals, orientation, textureFlag| Constructor and Description |
|---|
Sphere()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw(float radius,
int slices,
int stacks)
draws a sphere of the given radius centered around the origin.
|
cos, getDrawStyle, getNormals, getOrientation, getTextureFlag, normal3f, setDrawStyle, setNormals, setOrientation, setTextureFlag, sin, TXTR_COORDpublic void draw(float radius,
int slices,
int stacks)
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.