BulBul
BulBul

Reputation: 1209

How to do Matrix Multiplication in OpenGL 4.3?

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

Answers (2)

Nicol Bolas
Nicol Bolas

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

Tim
Tim

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

Related Questions