1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 06:18:12 +00:00

LibGL: Implement glVertex3fv

This commit is contained in:
Ali Mohammad Pur 2021-04-24 17:48:45 +04:30 committed by Andreas Kling
parent f601f12801
commit 6b11a5688d
2 changed files with 6 additions and 0 deletions

View file

@ -25,6 +25,11 @@ void glVertex3f(GLfloat x, GLfloat y, GLfloat z)
g_gl_context->gl_vertex(x, y, z, 1.0);
}
void glVertex3fv(const GLfloat* v)
{
g_gl_context->gl_vertex(v[0], v[1], v[2], 1.0);
}
void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
{
g_gl_context->gl_rotate(angle, x, y, z);