|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmodel.ComplexObject
model.PrimitiveObject
model.PrimitivePyramid
public class PrimitivePyramid
A simple pyramid with a rectangular base. Supports textures.
| Field Summary | |
|---|---|
int |
numSides
|
| Constructor Summary | |
|---|---|
PrimitivePyramid(Model model)
|
|
| Method Summary | |
|---|---|
int |
getNumSides()
|
void |
setNumSides(int numSides)
|
| Methods inherited from class model.PrimitiveObject |
|---|
draw, getFillMethod, getPolyMode, getverticesLength, load, setFillMethod, setPolyMode, setTexturesOn, write |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int numSides
| Constructor Detail |
|---|
public PrimitivePyramid(Model model)
| Method Detail |
|---|
public int getNumSides()
public void setNumSides(int numSides)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||