mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:07:35 +00:00
LibGL: Implement glNormal3f
and glNormal3fv
This commit is contained in:
parent
ea6bcda79c
commit
78d0674228
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