mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 09:49:21 +00:00
LibGL: Implement glVertex3fv
This commit is contained in:
parent
f601f12801
commit
6b11a5688d
Notes:
sideshowbarker
2024-07-18 18:32:22 +09:00
Author: https://github.com/alimpfard
Commit: 6b11a5688d
Pull-request: https://github.com/SerenityOS/serenity/pull/6375
Reviewed-by: https://github.com/Hendiadyoin1
Reviewed-by: https://github.com/IdanHo
Reviewed-by: https://github.com/Quaker762
Reviewed-by: https://github.com/ccapitalK
Reviewed-by: https://github.com/gmta
Reviewed-by: https://github.com/sunverwerth ✅
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