Jump to content
  • Advertisement


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


matrices ?

This topic is 5554 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

Hello! I am wondering if there is any "default" value that I can set my matrices to? Something like the common "NULL". something like this: matRotX = NULL; //something like that Well, while I'm at it. If I would like to set the value of my World matrix to one of my Rotation matrices, how would I do that? (my world matrice has gotten no value yet, so I can only put it as the Result matix in the MatrixMultiply() call) something like this: marWorld = matRotX; //something like that One more thing... Do the MatrixMultiply() and MatrixTranslation() calls slow my app down very much or am I only to worry about the SetTransform() calls?? thx! [edited by - bilsa on May 7, 2003 10:56:01 AM] [edited by - bilsa on May 7, 2003 10:56:30 AM] [edited by - bilsa on May 7, 2003 10:59:47 AM]

Share this post

Link to post
Share on other sites
Guest Anonymous Poster
yeah, it (identity) sets the matrix to:

[ 1 0 0 0 ]
[ 0 1 0 0 ]
[ 0 0 1 0 ]
[ 0 0 0 1 ]

this is what a (3d) matrix should look like before adding transformations.

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!