Sign in to follow this  
cptrnet

Convert matrix into vector

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this