Skip to main content
GameDev.net gamedev.net
🔒 Locked

Using glLoadMatrix

Started by stuh505 Sep 27, 2006 at 9:18 AM 0 replies 450+ views
Original Post
stuh505
stuh505
I need to set the matrix to some specific values that only become known during runtime. So I can't have the matrix be a const! But the parameter expects a const! glLoadMatrixf(const GLfloat *m) A value can be explicitly converted from non-const to const, but a pointer to a non-const can't be converted to a ptr to const... Edit: nevermind, I guess it can be!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.