core
/
graphics.glimpse.cameras
common
Package graphics.
glimpse.
cameras
Types
Types
Camera
Link copied to clipboard
common
interface
Camera
Content copied to clipboard
An interface for a camera.
FreeCamera
Link copied to clipboard
common
data class
FreeCamera
(eye:
Vec3
, roll:
Angle
, pitch:
Angle
, yaw:
Angle
) :
Camera
Content copied to clipboard
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
Content copied to clipboard
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
Content copied to clipboard
A camera located in the
eye
position and pointed at the given
target
, while preserving the defined
upVector
.