|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.javagl.simplerenderer.SimpleObjects
public class SimpleObjects
Utility classes for creating SimpleObject instances
| Constructor Summary | |
|---|---|
SimpleObjects()
|
|
| Method Summary | |
|---|---|
static SimpleObject |
createPlane(int sizeX,
int sizeY,
int stride)
Create a unit square in the X-Z-plane with the given number of points. |
static SimpleObject |
createSphere(int depth,
float radius,
int stride)
Create a unit sphere consisting of 20*(4^depth) triangles. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleObjects()
| Method Detail |
|---|
public static SimpleObject createPlane(int sizeX,
int sizeY,
int stride)
sizeX - The number of points in X directionsizeY - The number of points in Y (i.e. Z) directionstride - The stride for the simple object
public static SimpleObject createSphere(int depth,
float radius,
int stride)
depth - The recursion depthsradius - The radius of the spherestride - The stride for the simple object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||