fun lookAt(result: ZMatrix4, eye: ZVector3, center: ZVector3, up: ZVector3)(source)

Sets up a view transformation matrix to represent a camera looking at a specified target.

Parameters

result

The matrix to store the result of the lookAt operation.

eye

The position of the camera.

center

The point the camera is looking at.

up

The up direction from the camera's point of view.