Computes a 4-by-4 camera aim transformation.
This is a matrix which positions an object aiming down negative Z. toward the target.
Note: this is the inverse of lookAt
lookAt
The position of the object.
The position meant to be aimed at.
A vector pointing up.
Optional
matrix to hold result. If not passed a new one is created.
The aim matrix.
Computes a 4-by-4 camera aim transformation.
This is a matrix which positions an object aiming down negative Z. toward the target.
Note: this is the inverse of
lookAt