1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:17:35 +00:00

LibGL: Implement glScaled

This commit is contained in:
Jelle Raaijmakers 2021-12-01 16:13:04 +01:00 committed by Andreas Kling
parent 9dbc8d7e3c
commit 07bf37be75
3 changed files with 21 additions and 15 deletions

View file

@ -83,3 +83,23 @@ void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdou
{
g_gl_context->gl_ortho(left, right, bottom, top, nearVal, farVal);
}
void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
{
g_gl_context->gl_rotate(angle, x, y, z);
}
void glScaled(GLdouble x, GLdouble y, GLdouble z)
{
g_gl_context->gl_scale(x, y, z);
}
void glScalef(GLfloat x, GLfloat y, GLfloat z)
{
g_gl_context->gl_scale(x, y, z);
}
void glTranslatef(GLfloat x, GLfloat y, GLfloat z)
{
g_gl_context->gl_translate(x, y, z);
}