mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:17:45 +00:00
LibGL: Implement glTranslated
This commit is contained in:
parent
9c9fa33495
commit
17c109f5d7
2 changed files with 6 additions and 0 deletions
|
@ -375,6 +375,7 @@ GLAPI void glMultMatrixf(GLfloat const* matrix);
|
||||||
GLAPI void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
|
GLAPI void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
|
||||||
GLAPI void glScaled(GLdouble x, GLdouble y, GLdouble z);
|
GLAPI void glScaled(GLdouble x, GLdouble y, GLdouble z);
|
||||||
GLAPI void glScalef(GLfloat x, GLfloat y, GLfloat z);
|
GLAPI void glScalef(GLfloat x, GLfloat y, GLfloat z);
|
||||||
|
GLAPI void glTranslated(GLdouble x, GLdouble y, GLdouble z);
|
||||||
GLAPI void glTranslatef(GLfloat x, GLfloat y, GLfloat z);
|
GLAPI void glTranslatef(GLfloat x, GLfloat y, GLfloat z);
|
||||||
GLAPI void glVertex2d(GLdouble x, GLdouble y);
|
GLAPI void glVertex2d(GLdouble x, GLdouble y);
|
||||||
GLAPI void glVertex2dv(const GLdouble* v);
|
GLAPI void glVertex2dv(const GLdouble* v);
|
||||||
|
|
|
@ -99,6 +99,11 @@ void glScalef(GLfloat x, GLfloat y, GLfloat z)
|
||||||
g_gl_context->gl_scale(x, y, z);
|
g_gl_context->gl_scale(x, y, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void glTranslated(GLdouble x, GLdouble y, GLdouble z)
|
||||||
|
{
|
||||||
|
g_gl_context->gl_translate(x, y, z);
|
||||||
|
}
|
||||||
|
|
||||||
void glTranslatef(GLfloat x, GLfloat y, GLfloat z)
|
void glTranslatef(GLfloat x, GLfloat y, GLfloat z)
|
||||||
{
|
{
|
||||||
g_gl_context->gl_translate(x, y, z);
|
g_gl_context->gl_translate(x, y, z);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue