Reputation: 1209
Are the functions like glmatrixmode()
, gltranslate()
, glrotate()
, and glscale()
deprecated in OpenGL 4.3?
If they are deprecated, what are the new functions in Core OpenGL profile that do matrix manipulation?
Upvotes: 0
Views: 531
Reputation: 473232
They are not deprecated. They are removed. There's a difference.
Deprecated means "available, but may be removed later." Removed means "not available."
You should use a vector/matrix library. Either one you write or one someone else wrote.
Upvotes: 6
Reputation: 35923
Yes, they're all deprecated.
You're supposed to manage your matrices locally outside of OpenGL, then upload them as uniform variables with glUniformMatrix*
Upvotes: 3