|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.rico.engine.camera.culling.ViewingFrustum
public class ViewingFrustum
This class represents the viewing frustum with its six planes. The six planes are being used for the frustum culling technique.
Constructor Summary | |
---|---|
ViewingFrustum()
Creates a new viewing frustum object. |
Method Summary | |
---|---|
FrustumPlane |
getBackPlane()
Returns the back plane of the frustum |
FrustumPlane |
getBottomPlane()
Returns the bottom plane of the frustum |
FrustumPlane |
getFrontPlane()
Returns the front plane of the frustum |
FrustumPlane |
getLeftPlane()
Returns the left plane of the frustum |
FrustumPlane |
getRightPlane()
Returns the right plane of the frustum |
FrustumPlane |
getTopPlane()
Returns the top plane of the frustum |
void |
update(javax.media.opengl.GL gl)
This methods updates the frustum by (re-)calculating its planes. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewingFrustum()
Method Detail |
---|
public FrustumPlane getBackPlane()
public FrustumPlane getBottomPlane()
public FrustumPlane getFrontPlane()
public FrustumPlane getLeftPlane()
public FrustumPlane getRightPlane()
public FrustumPlane getTopPlane()
public void update(javax.media.opengl.GL gl)
gl
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |