diff --git a/Userland/Libraries/LibGL/GL/gl.h b/Userland/Libraries/LibGL/GL/gl.h index b6fb20b2d4..ec78376449 100644 --- a/Userland/Libraries/LibGL/GL/gl.h +++ b/Userland/Libraries/LibGL/GL/gl.h @@ -375,6 +375,7 @@ GLAPI void glMultMatrixf(GLfloat const* matrix); 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); +GLAPI void glTranslated(GLdouble x, GLdouble y, GLdouble z); GLAPI void glTranslatef(GLfloat x, GLfloat y, GLfloat z); GLAPI void glVertex2d(GLdouble x, GLdouble y); GLAPI void glVertex2dv(const GLdouble* v); diff --git a/Userland/Libraries/LibGL/GLMat.cpp b/Userland/Libraries/LibGL/GLMat.cpp index 1cdcca8228..41c60f4022 100644 --- a/Userland/Libraries/LibGL/GLMat.cpp +++ b/Userland/Libraries/LibGL/GLMat.cpp @@ -99,6 +99,11 @@ void glScalef(GLfloat x, GLfloat y, GLfloat z) g_gl_context->gl_scale(x, y, z); } +void glTranslated(GLdouble x, GLdouble y, GLdouble z) +{ + g_gl_context->gl_translate(x, y, z); +} + void glTranslatef(GLfloat x, GLfloat y, GLfloat z) { g_gl_context->gl_translate(x, y, z);