Documentation for lookAtVM
Signature
lookAtVM(cameraPos, targetPos, up)Description
The lookAtVM() function generates a 4x4 matrix that transforms a world-space point into view space. The up vector doesn't need to be normalized.
This function assumes the use of VM multiplication order: vector * matrix.
Variants
lookAtVM(vector, vector, vector) -> matrix