Update RingOpenGL - Add Function (Source Code) : void gluBeginCurve(GLUnurbs* nurb)
@@ -11100,6 +11100,20 @@ RING_FUNC(ring_glWindowPos3dv)
glWindowPos3dv((GLdouble *) RING_API_GETCPOINTER(1,"GLdouble"));
}
+
+RING_FUNC(ring_gluBeginCurve)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ gluBeginCurve((GLUnurbs *) RING_API_GETCPOINTER(1,"GLUnurbs"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -11648,4 +11662,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glwindowpos3iv",ring_glWindowPos3iv);
ring_vm_funcregister("glwindowpos3fv",ring_glWindowPos3fv);
ring_vm_funcregister("glwindowpos3dv",ring_glWindowPos3dv);
+ ring_vm_funcregister("glubegincurve",ring_gluBeginCurve);
}
