FreeCamera

data class FreeCamera(    val eye: Vec3,     val roll: Angle,     val pitch: Angle,     val yaw: Angle) : Camera

A freely transformed camera, defined by its eye position, and its rotations: roll, pitch, yaw.

Constructors

Link copied to clipboard
fun FreeCamera(    eye: Vec3,     roll: Angle,     pitch: Angle,     yaw: Angle)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val eye: Vec3

Position of the camera eye.

Link copied to clipboard
val pitch: Angle

Camera pitch angle (point upwards/downwards).

Link copied to clipboard
val roll: Angle

Camera roll angle (clockwise/anticlockwise rotation of the camera eye).

Link copied to clipboard
open override val viewMatrix: Mat4

View matrix defined by the camera.

Link copied to clipboard
val yaw: Angle

Camera yaw angle (camera heading rotation)