Deprecated function replacements

The OpenGL 3.0 specification deprecated some features, and most of these have been removed from the OpenGL 3.1 specfication and beyond. GLM provides some replacement functions. Many of these functions come from the GLM_GTC_matrix_transform: Matrix transform functions extension.

OpenGL function replacements

glRotate[fd]
rotate()
glScale[fd]
scale()
glTranslate[fd]
translate()
glLoadIdentity
The default constructor of all matrix types creates an identity matrix.
glMultMatrix[fd]
Per the GLSL specification, the multiplication operator is overloaded for all matrix types. Multiplying two matrices together will perform matrix multiplication.
glLoadTransposeMatrix[fd]
transpose()
glMultTransposeMatrix
Combine the last two.
glFrustum
frustum()
glOrtho
ortho()
gluLookAt
lookAt()

GLU function replacements

gluOrtho2D
ortho()
gluPerspective
perspective()
gluProject
project()
gluUnProject
unProject()