This probably has a really simple answer.
Does anyone know how to derive paramaters from the LookAt matrix?
i.e. I want to do the inverse of this:
viewMatrix = Matrix.LookAtLH( eyePosition, targetPoint, upVector);
That is, to derive eyePosition, targetPoint, and upVector from viewMatrix.
Ideas?
Does anyone know how to derive paramaters from the LookAt matrix?
i.e. I want to do the inverse of this:
viewMatrix = Matrix.LookAtLH( eyePosition, targetPoint, upVector);
That is, to derive eyePosition, targetPoint, and upVector from viewMatrix.
Ideas?