|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.rico.engine.geometry.AbstractMesh
de.rico.engine.geometry.MeshDL
de.rico.engine.geometry.AbstractGroundMesh
de.rico.engine.geometry.GroundPlane
public class GroundPlane
This class represents a simple plain ground mesh. A ground plain should always be located at the origin (0f,0f,0f).
| Constructor Summary | |
|---|---|
GroundPlane(int size,
float texRepeat)
Creates a new ground plane with the specified size. |
|
GroundPlane(int size,
float texRepeat,
BoundingVolume type)
Creates a new ground plane with the specified size. |
|
| Method Summary | |
|---|---|
int |
getSize()
Returns the size of the ground plane. |
float |
getTexRepeat()
Retruns the texture repeat factor of the ground plane. |
| Methods inherited from class de.rico.engine.geometry.AbstractGroundMesh |
|---|
getLength, getSearchGrid, getWidth, initSearchGrid |
| Methods inherited from class de.rico.engine.geometry.MeshDL |
|---|
addFace, destroy, draw, finishModel, getDisplayListId, getFaces, getFacesTransformed, specializedDraw, update |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GroundPlane(int size,
float texRepeat)
size - size of the plane (needs to be power of two)texRepeat - applies the potential texture of the plane
the number of times in both directions (1f means no repeat)
public GroundPlane(int size,
float texRepeat,
BoundingVolume type)
size - size of the plane (needs to be power of two)texRepeat - applies the potential texture of the planetype - value from the BoundingVolume enumeration
the number of times in both directions (1f means no repeat)| Method Detail |
|---|
public int getSize()
public float getTexRepeat()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||