public class Sphere extends Shape3D
Constructor and Description |
---|
Sphere()
Constructs a Sphere with default precision.
|
Sphere(int p)
Constructs a Sphere with specified precision.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getIndices()
Returns the array of indexes
|
Vertex3D[] |
getVertices()
Returns the array of vertices
|
void |
InitSphere()
Builes the sphere to the specified precision by constructing
a vertex list and a list of indices into those vertices.
|
clone, getName, getRotation, getScale, getTransform, getTranslation, rotate, rotate, scale, setName, setRotation, setScale, setTranslation, translate
public Sphere()
public Sphere(int p)
public void InitSphere()
public int[] getIndices()
public Vertex3D[] getVertices()