mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibGL: Implement glScaled
This commit is contained in:
parent
9dbc8d7e3c
commit
07bf37be75
Notes:
sideshowbarker
2024-07-17 22:51:41 +09:00
Author: https://github.com/gmta
Commit: 07bf37be75
Pull-request: https://github.com/SerenityOS/serenity/pull/11154
Reviewed-by: https://github.com/sunverwerth ✅
3 changed files with 21 additions and 15 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue