|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sygem.jazz3d3.Object3d
com.sygem.jazz3d3.primitive.Sphere3d
Create a simple sphere. You can determine the "smoothness" of the sphere. Obviously the more sections the sphere is made from, the more faces are created, and the longer it will take to render the object.
Object3d
Field Summary |
Fields inherited from class com.sygem.jazz3d3.Object3d |
USE_ONE_RENDERER, WRAP_FRONT, WRAP_TOP |
Constructor Summary | |
Sphere3d(int hSections,
int vSections,
double x,
double y,
double z)
Default constructor. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Sphere3d(int hSections, int vSections, double x, double y, double z)
hSections
- The number of horizontal sections the sphere is made fromvSections
- The number of vertical sections the sphere is made fromx
- The x position of the center of the spherey
- The y position of the center of the spherez
- The z position of the center of the sphere
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |