René Olsthoorn's techtips
Technical tips for various products and programming languages
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
Nieuwere post
Oudere post
Homepage
Abonneren op:
Reacties posten (Atom)
Geen opmerkingen:
Een reactie posten