CameraPose

data class CameraPose(val right: Vec3, val up: Vec3, val forward: Vec3)(source)

Where the back camera points, as the screen's right, up and forward axes in east-north-up, referenced to magnetic north.

Constructors

Link copied to clipboard
constructor(right: Vec3, up: Vec3, forward: Vec3)

Properties

Link copied to clipboard

Magnetic azimuth the camera faces, 0..360. Steeply down or up, the line of sight has no usable horizontal part, so the heading follows the screen's top edge instead, which faces the same way when the phone is tipped forward and the opposite way when it is tipped back.

Link copied to clipboard
Link copied to clipboard

The camera's tilt above the horizontal, in degrees; negative when it points at the ground.

Link copied to clipboard
val right: Vec3
Link copied to clipboard
val up: Vec3

Functions

Link copied to clipboard

This pose turned clockwise about the vertical by deg.