|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmali.spatial.bodies.Frustum
public class Frustum
A viewing frustum.
| Field Summary | |
|---|---|
static float |
error
|
| Constructor Summary | |
|---|---|
Frustum()
Frustum constructor comment. |
|
| Method Summary | |
|---|---|
void |
compute(Matrix4f proj,
Matrix4f modl)
Extract the frustum from the incoming projections and modelview matrices. |
Matrix4f |
computeInverse(Matrix4f proj)
Extract the frustum from the incoming projections and modelview matrices. |
Matrix4f |
getMatrix()
|
Plane |
getPlane(int i)
|
boolean |
intersects(Plane p,
Vector3f[] quad)
Intersect the frustum with a plane. |
Classifier.Classification |
quickClassify(Box box)
Quick check to see if an orthogonal bounding box is inside the frustum |
void |
setPlane(int i,
Plane plane)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static float error
| Constructor Detail |
|---|
public Frustum()
| Method Detail |
|---|
public Matrix4f getMatrix()
public void setPlane(int i,
Plane plane)
public Plane getPlane(int i)
public final Classifier.Classification quickClassify(Box box)
public final boolean intersects(Plane p,
Vector3f[] quad)
public final void compute(Matrix4f proj,
Matrix4f modl)
public final Matrix4f computeInverse(Matrix4f proj)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||