Archived

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

nick5454

Create a matrix from a point

Recommended Posts

I know this is a ignorant question but I''m dumbfounded getting some of the basics down how do I create a matrix from this point (matLoc) D3DXMATRIX matLoc; float m_x = 1.0f; float m_y = 5.0f; float m_z = 3.0f; What is the method, could someone either tell me the method or write the simple one line of code for me PLEAAASE? thanks in advance

Share this post


Link to post
Share on other sites
D3DXMatrixTranslation


How appropriate. You fight like a cow.

Share this post


Link to post
Share on other sites