Update RingOpenGL - Add Function (Source Code) : void glNormal3fv(const GLfloat * v)
@@ -6376,6 +6376,20 @@ RING_FUNC(ring_glNormal3dv)
glNormal3dv((GLdouble *) RING_API_GETCPOINTER(1,"GLdouble"));
}
+
+RING_FUNC(ring_glNormal3fv)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glNormal3fv((GLfloat *) RING_API_GETCPOINTER(1,"GLfloat"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -6688,4 +6702,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glnormal3s",ring_glNormal3s);
ring_vm_funcregister("glnormal3bv",ring_glNormal3bv);
ring_vm_funcregister("glnormal3dv",ring_glNormal3dv);
+ ring_vm_funcregister("glnormal3fv",ring_glNormal3fv);
}
