mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:17:35 +00:00
LibGL: Implement glScaled
This commit is contained in:
parent
9dbc8d7e3c
commit
07bf37be75
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