diff --git a/Userland/Libraries/LibGL/GL/gl.h b/Userland/Libraries/LibGL/GL/gl.h index 6f119568dc..a0ce9491aa 100644 --- a/Userland/Libraries/LibGL/GL/gl.h +++ b/Userland/Libraries/LibGL/GL/gl.h @@ -479,6 +479,7 @@ GLAPI void glPushMatrix(); GLAPI void glPopMatrix(); GLAPI void glMultMatrixd(GLdouble const* matrix); GLAPI void glMultMatrixf(GLfloat const* matrix); +GLAPI void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z); GLAPI void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z); GLAPI void glScaled(GLdouble x, GLdouble y, GLdouble z); GLAPI void glScalef(GLfloat x, GLfloat y, GLfloat z); diff --git a/Userland/Libraries/LibGL/GLMat.cpp b/Userland/Libraries/LibGL/GLMat.cpp index 901b027c93..8efa459155 100644 --- a/Userland/Libraries/LibGL/GLMat.cpp +++ b/Userland/Libraries/LibGL/GLMat.cpp @@ -112,6 +112,11 @@ void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdou g_gl_context->gl_ortho(left, right, bottom, top, nearVal, farVal); } +void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) +{ + g_gl_context->gl_rotate(angle, x, y, z); +} + void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { g_gl_context->gl_rotate(angle, x, y, z);