I'm looking for a function similar to D3DXMatrixLookAtLH. This calclulates the view when the camera is at one point, and looks at another.
I want one where the camera is at one point, and looking at a certain angle (Yaw, Pitch, Roll).
There is a D3DXMatrixRotationYawPitchRoll function, but it doesn't have a camera point (Do you have to do a translation?).
Also, is there a translation matrix function that takes a vector, rather than 3 coordinates? Couldn't find it on MSDN.
to do this, i just used trig to calculate the look at point in front of the point by the angles.