LibGL: Implement glRotated

This commit is contained in:
Jelle Raaijmakers 2022-01-10 02:13:35 +01:00 committed by Linus Groh
parent a29534b531
commit eea1b95ead
Notes: sideshowbarker 2024-07-17 21:11:08 +09:00
2 changed files with 6 additions and 0 deletions

View File

@ -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);

View File

@ -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);