Jump to content
  • Advertisement
Sign in to follow this  
riruilo

A question about current matrix a a new matrix. [SOLVED, thanks]

This topic is 4152 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 friends! Just one question, please: I have my transformation inside a matrix, and I would like to apply it. With: GLfloat current[16]; glGetFloatv (GL_MODELVIEW_MATRIX, current); I get the current matrix What should I do to apply my transformation to the current matrix? current*matrix OR matrix*current Sorry for the question, my theory is horrible. Thanks a lot! [Edited by - riruilo on May 15, 2007 5:35:12 PM]

Share this post


Link to post
Share on other sites
Advertisement
Why not glMultMatrix it?

Don't worry, my theory is equally horrible [smile] (if not more so).

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!