Update RingOpenGL - Add Function (Source Code) : void glRectdv(const GLdouble * v1,const GLdouble * v2)
@@ -7222,6 +7222,24 @@ RING_FUNC(ring_glRects)
free(RING_API_GETCPOINTER(4,"GLshort"));
}
+
+RING_FUNC(ring_glRectdv)
+{
+ if ( RING_API_PARACOUNT != 2 ) {
+ RING_API_ERROR(RING_API_MISS2PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(2) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glRectdv((GLdouble *) RING_API_GETCPOINTER(1,"GLdouble"),(GLdouble *) RING_API_GETCPOINTER(2,"GLdouble"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -7578,4 +7596,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glrectf",ring_glRectf);
ring_vm_funcregister("glrecti",ring_glRecti);
ring_vm_funcregister("glrects",ring_glRects);
+ ring_vm_funcregister("glrectdv",ring_glRectdv);
}
