public static final class Camera.Look extends Object
See PerspectiveCamera
or OrthographicCamera
for an illustration.
Constructor and Description |
---|
Look(Coordinate eye,
Coordinate forward,
Coordinate up)
Constructs the Look with eye, forward, and up information.
|
Modifier and Type | Method and Description |
---|---|
Coordinate |
getEye()
The location of the camera in 3D cartesian coordinates.
|
Coordinate |
getForward()
The forward direction of the camera.
|
Coordinate |
getUp()
The direction corresponding to the upward direction of the view.
|
public Look(@NotNull Coordinate eye, @NotNull Coordinate forward, @NotNull Coordinate up)
eye
- The location of the camera in 3D cartesian coordinates.forward
- The forward direction of the camera.up
- The direction corresponding to the upward direction of the view.@NotNull public Coordinate getEye()
@NotNull public Coordinate getForward()
@NotNull public Coordinate getUp()