lookAt

fun Camera.lookAt(eye: Position, center: Position, up: Direction)

Sets the camera's model matrix.

Parameters

eye

position of the camera in world space

center

position of the point in world space the camera is looking at

up

unit vector denoting the camera's "up" direction