Jump to content
  • Advertisement
Sign in to follow this  
cptrnet

Convert matrix into vector

This topic is 4802 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, I am using c# and managed directx, I am performing a translation on some vertices and I need to get where it moved it to. So can't I take the translation matrix and convert it somehow back into a vector. This is 2d. thanks

Share this post


Link to post
Share on other sites
Advertisement
1) Shouldn't you already have the 2D vector that the translation matrix was built from?
2) If you multiply the vector in question by that translation matrix, the vector will get translated appropiately, so you don't need really need the 2D translation vector anyways.

Share this post


Link to post
Share on other sites
I have two vertices that make up a line. then I have the whole location of the object, I transform the whole location. I'm wanting to know where the new points are so I can set the position of the two vertices. Not just the transformed location.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!