mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 06:18:12 +00:00
LibGL: Implement glVertex3fv
This commit is contained in:
parent
f601f12801
commit
6b11a5688d
2 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue