dinsdag 17 december 2013

Converting OGLDEV samples to SDL using GLM

When you convert OGLDEV samples to SDL using GLM, you might run into trouble. GLM is column-major and the OGLDEV samples are row-major.
This is not a big problem. Just invert the GL_TRUE in glUniformMatrix4fv to GL_FALSE. See this post: http://stackoverflow.com/questions/20578922/cant-display-model-using-glm-lookat-and-glm-perspective

Geen opmerkingen:

Een reactie posten