Documentation for lookAtMV
Signature
lookAtMV(cameraPos, targetPos, up)Description
The lookAtMV() 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 MV multiplication order: matrix * vector.
Variants
lookAtMV(vector, vector, vector) -> matrix