lookAt

fun lookAt(eye: Vector3, target: Vector3, up: Vector3): Matrix4

Sets the rotation component of the transformation matrix, looking from eye towards target, oriented by the up direction.

Return

A reference to this matrix.