Sign in to follow this  
enigmagame

GLM library trouble

Recommended Posts

Hi to all! I've downloaded a modify version of "Nate Robins GLM library" from this site: http://devernay.free.fr/hacks/glm/ The library compile and runs correctly. In this library there is a function called "glmDraw()" if I comment all the code in this function except the code for the vertices, it's run correctly. I need to acces to the vertices data in another file, if I use the same code used above, it's not runs correctly. See this images (the model is a cube). Correct rendering with glmDraw() function (with comment): Correct rendering Wrong rendering, is the same code, but is in another file: Wrong rendering Where is the problem? Thanks!

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