mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +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: https://github.com/SerenityOS/serenity/commit/07bf37be759 Pull-request: https://github.com/SerenityOS/serenity/pull/11154 Reviewed-by: https://github.com/sunverwerth ✅
3 changed files with 21 additions and 15 deletions
|
@ -371,6 +371,7 @@ GLAPI void glPushMatrix();
|
|||
GLAPI void glPopMatrix();
|
||||
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 glTranslatef(GLfloat x, GLfloat y, GLfloat z);
|
||||
GLAPI void glVertex2d(GLdouble x, GLdouble y);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -155,21 +155,6 @@ void glTexCoord4fv(const GLfloat* v)
|
|||
g_gl_context->gl_tex_coord(v[0], v[1], v[2], v[3]);
|
||||
}
|
||||
|
||||
void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
|
||||
{
|
||||
g_gl_context->gl_rotate(angle, 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);
|
||||
}
|
||||
|
||||
void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz)
|
||||
{
|
||||
g_gl_context->gl_normal(nx, ny, nz);
|
||||
|
|
Loading…
Reference in a new issue