Computes a 4-by-4 view transformation.
This is a view matrix which transforms all other objects to be in the space of the view defined by the parameters.
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 look-at matrix.
Computes a 4-by-4 view transformation.
This is a view matrix which transforms all other objects to be in the space of the view defined by the parameters.