|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jme.util.AreaUtils
AreaUtils is used to calculate the area of various objects, such as bounding volumes. These
functions are very loose approximations.
| Constructor Summary | |
AreaUtils()
|
|
| Method Summary | |
static float |
calcScreenArea(BoundingVolume bound,
float distance,
float screenWidth)
calcScreenArea -- in Pixels Aproximates the screen area of a bounding volume. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AreaUtils()
| Method Detail |
public static float calcScreenArea(BoundingVolume bound,
float distance,
float screenWidth)
bound - The bounds to calculate the volume from.distance - The distance from camera to object.screenWidth - The width of the screen.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||