mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-05 01:55:21 +03:00
LibGL: Implement glRotated
This commit is contained in:
parent
a29534b531
commit
eea1b95ead
Notes:
sideshowbarker
2024-07-17 21:11:08 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/eea1b95ead9 Pull-request: https://github.com/SerenityOS/serenity/pull/11800 Reviewed-by: https://github.com/Quaker762 Reviewed-by: https://github.com/linusg Reviewed-by: https://github.com/sunverwerth ✅
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user