mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-30 14:20:21 +00:00
LibGL: Implement glNormal3f
and glNormal3fv
This commit is contained in:
parent
ea6bcda79c
commit
78d0674228
Notes:
sideshowbarker
2024-07-17 22:51:54 +09:00
Author: https://github.com/gmta
Commit: 78d0674228
Pull-request: https://github.com/SerenityOS/serenity/pull/11154
Reviewed-by: https://github.com/sunverwerth ✅
6 changed files with 27 additions and 1 deletions
|
@ -169,3 +169,13 @@ void glTranslatef(GLfloat x, GLfloat y, GLfloat z)
|
|||
{
|
||||
g_gl_context->gl_translate(x, y, z);
|
||||
}
|
||||
|
||||
void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz)
|
||||
{
|
||||
g_gl_context->gl_normal(nx, ny, nz);
|
||||
}
|
||||
|
||||
void glNormal3fv(GLfloat const* v)
|
||||
{
|
||||
g_gl_context->gl_normal(v[0], v[1], v[2]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue