LibGL: Implement glNormal3d

This commit is contained in:
Jelle Raaijmakers 2022-09-09 02:17:15 +02:00 committed by Linus Groh
parent 1aa1c89afa
commit 70ea2a2258
Notes: sideshowbarker 2024-07-17 16:23:55 +09:00
2 changed files with 6 additions and 0 deletions

View file

@ -743,6 +743,7 @@ GLAPI void glStencilMask(GLuint mask);
GLAPI void glStencilMaskSeparate(GLenum face, GLuint mask);
GLAPI void glStencilOp(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 glNormal3fv(GLfloat const* v);
GLAPI void glNormalPointer(GLenum type, GLsizei stride, void const* pointer);

View file

@ -666,6 +666,11 @@ void glNewList(GLuint list, GLenum 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)
{
g_gl_context->gl_normal(nx, ny, nz);