Jump to content
  • Advertisement

Archived

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

Lazy303

At, up and right vector

This topic is 5682 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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!