|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.javagl.swogl.scene.CameraUtils
public class CameraUtils
A class containing utility methods for Camera operations.
| Method Summary | |
|---|---|
static void |
adjustDistance(MutableCamera camera,
float height)
Adjust the distance between the eye point and the view point of the given Camera. |
static javax.vecmath.Matrix4f |
computeCameraMatrix(Camera camera)
Returns the camera matrix for the given Camera. |
static javax.vecmath.Matrix4f |
computeViewMatrix(Camera camera)
Returns the view matrix for the given Camera. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void adjustDistance(MutableCamera camera,
float height)
Camera.
camera - The Cameraheight - The height that should be visiblepublic static javax.vecmath.Matrix4f computeViewMatrix(Camera camera)
Camera. The orientation
described by the matrix will be taken from the view point, eye
point and up vector, and the translation will be computed from
the eye point. computeCameraMatrix(Camera).
camera - The Camera
public static javax.vecmath.Matrix4f computeCameraMatrix(Camera camera)
Camera. The orientation
described by the matrix will be taken from the view point, eye
point and up vector, and the translation will be computed from
the eye point. computeViewMatrix(Camera).
camera - The Camera
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||