Archived

This topic is now archived and is closed to further replies.

At, up and right vector

This topic is 5397 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! If I have a 4x4 matrix (D3DXMATRIX) Which elements in the matrix are considered to be the At, up and right vectors? is At = 11,12,13 up = 21,22,23 right = 31,32,33 ?? 4x4 matrix : 11 21 31 41 12 22 32 33 13 23 33 43 14 24 34 44 I feel like a newbie...

Share this post


Link to post
Share on other sites
11 = right.x
21 = right.y
31 = right.z

12 = up.x
22 = up.y
32 = up.z

13 = fwd.x
23 = fwd.y
33 = fwd.z


First thing I always do when looking at an implementation of a matrix that I''m not familiar with is find the translation part and then work back from there.


--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites