public interface ICameraController
Modifier and Type | Method and Description |
---|---|
void |
pitchCamera(double radians)
Change the camera's pitch, its rotation about the axis perpendicular to
its heading to the right, controlling how it is pointed in an up/down
direction.
|
void |
raiseCamera(double distance)
Move the camera to the up or down, orthogonal to the direction it is
pointing.
|
void |
reset()
Resets the camera to its default position.
|
void |
rollCamera(double radians)
Change the camera's roll, it's rotation about the axis it is pointing.
|
void |
setDefaultAngle(double x,
double y,
double z)
Set the default angle for the camera.
|
void |
strafeCamera(double distance)
Move the camera to the left or right, orthogonal to the direction it is
pointing.
|
void |
thrustCamera(double distance)
Move the camera forward or backwards in the direction it is pointing.
|
void |
yawCamera(double radians)
Change the camera's yaw, its rotation about the axis perpendicular to its
heading in to the above, controlling how it is pointed in a left/right
direction.
|
void pitchCamera(double radians)
radians
- The number of radians by which to rotate the camera.void setDefaultAngle(double x, double y, double z)
x
- The number of degrees of X axis rotation.y
- The number of degrees of Y axis rotation.z
- The number of degrees of Z axis rotation.void rollCamera(double radians)
radians
- The number of radians by which to rotate the camera.void raiseCamera(double distance)
distance
- The amount of space to move the camera. Positive distances
move the camera up, negative distances move it down.void strafeCamera(double distance)
distance
- The amount of space to move the camera. Positive distances
move the camera right, negative distances move it left.void thrustCamera(double distance)
distance
- The amount of space to move the camera. Positive distances
move the camera forward, negative distances move it backwards.void yawCamera(double radians)
radians
- The number of radians by which to rotate the camera.void reset()