Package graphics.glimpse.cameras

Types

Camera
Link copied to clipboard
common
interface Camera
An interface for a camera.
FreeCamera
Link copied to clipboard
common
data class FreeCamera(eye: Vec3, roll: Angle, pitch: Angle, yaw: Angle) : Camera
A freely transformed camera, defined by its eye position, and its rotations: roll, pitch, yaw.
RelativeTargetCamera
Link copied to clipboard
common
data class RelativeTargetCamera(target: Vec3, distance: Float, longitude: Angle, latitude: Angle, upVector: Vec3) : Camera
A camera pointed at the given target, and located at the given distance from it, with the given longitude and latitude angles, while preserving the defined upVector.
TargetCamera
Link copied to clipboard
common
data class TargetCamera(eye: Vec3, target: Vec3, upVector: Vec3) : Camera
A camera located in the eye position and pointed at the given target, while preserving the defined upVector.