mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:57:34 +00:00
LibGL: Implement glNormal3d
This commit is contained in:
parent
1aa1c89afa
commit
70ea2a2258
2 changed files with 6 additions and 0 deletions
|
@ -743,6 +743,7 @@ GLAPI void glStencilMask(GLuint mask);
|
||||||
GLAPI void glStencilMaskSeparate(GLenum face, GLuint mask);
|
GLAPI void glStencilMaskSeparate(GLenum face, GLuint mask);
|
||||||
GLAPI void glStencilOp(GLenum sfail, GLenum dpfail, GLenum dppass);
|
GLAPI void glStencilOp(GLenum sfail, GLenum dpfail, GLenum dppass);
|
||||||
GLAPI void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
|
GLAPI void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
|
||||||
|
GLAPI void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz);
|
||||||
GLAPI void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
|
GLAPI void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
|
||||||
GLAPI void glNormal3fv(GLfloat const* v);
|
GLAPI void glNormal3fv(GLfloat const* v);
|
||||||
GLAPI void glNormalPointer(GLenum type, GLsizei stride, void const* pointer);
|
GLAPI void glNormalPointer(GLenum type, GLsizei stride, void const* pointer);
|
||||||
|
|
|
@ -666,6 +666,11 @@ void glNewList(GLuint list, GLenum mode)
|
||||||
return g_gl_context->gl_new_list(list, mode);
|
return g_gl_context->gl_new_list(list, mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz)
|
||||||
|
{
|
||||||
|
g_gl_context->gl_normal(nx, ny, nz);
|
||||||
|
}
|
||||||
|
|
||||||
void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz)
|
void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz)
|
||||||
{
|
{
|
||||||
g_gl_context->gl_normal(nx, ny, nz);
|
g_gl_context->gl_normal(nx, ny, nz);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue