Update RingOpenGL - Add Function (Source Code) : void glNormal3dv(const GLdouble * v)
@@ -6362,6 +6362,20 @@ RING_FUNC(ring_glNormal3bv)
glNormal3bv((GLbyte *) RING_API_GETCPOINTER(1,"GLbyte"));
}
+
+RING_FUNC(ring_glNormal3dv)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glNormal3dv((GLdouble *) RING_API_GETCPOINTER(1,"GLdouble"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -6673,4 +6687,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glnormal3i",ring_glNormal3i);
ring_vm_funcregister("glnormal3s",ring_glNormal3s);
ring_vm_funcregister("glnormal3bv",ring_glNormal3bv);
+ ring_vm_funcregister("glnormal3dv",ring_glNormal3dv);
}
