Jim Adam's RPG Book cCamera Question
hi! I have a question about the point method of the cCamera class. Do you i get the same result when i use D3DXMatrixLookAtLH
D3DXMatrixLookAtLH(...) is similar to what Jim describes in his book but they aren''t exactly the same. Jim doesn''t have you give the up vector in his Point method so when you use Point() as opposed to D3DXMatrixLookAtLH() the camera will not change its up axis orientation. You would need to Rotate() the camera if you wanted it to roll.
You would get the same results using D3DXMatrixLookAtLH() if the up vector you used was the same as you camera''s current up vector.
Chris Z.
You would get the same results using D3DXMatrixLookAtLH() if the up vector you used was the same as you camera''s current up vector.
Chris Z.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement