Skip to contents

Get camera up vector

Usage

get_camera_up(camera)

Arguments

camera

A camera_3d.

Value

A numeric vector of length 3.

Examples

cam <- camera_3d(c(0, 10, 10))
get_camera_up(cam)
#> x y z 
#> 0 1 0