Jump to content
  • Advertisement
Sign in to follow this  

OpenGL glm and debug with visual studio

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

I'm using opengl and glm math library.
I'm using visual studio and a little problem is how to view the vectors and matrixes .
When i expand a vector or a matrix appear something like :
but i can't view all the vectors components, only the first.
There is a good system for debug matrixes and vectors with glm and visual studio? I use vs 2012.

Share this post

Link to post
Share on other sites

You should be able to inspect all components of the vectors and matrices.

What I also personally do, is use a debug class, which has a method to print out the values of, for example, a glm::vec3 to a .txt file.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!