Update RingOpenGL - Add Function (Source Code) : void gluTessBeginContour(GLUtesselator* tess)
@@ -11964,6 +11964,20 @@ RING_FUNC(ring_gluSphere)
gluSphere((GLUquadric *) RING_API_GETCPOINTER(1,"GLUquadric"), (GLdouble ) RING_API_GETNUMBER(2), (GLint ) RING_API_GETNUMBER(3), (GLint ) RING_API_GETNUMBER(4));
}
+
+RING_FUNC(ring_gluTessBeginContour)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ gluTessBeginContour((GLUtesselator *) RING_API_GETCPOINTER(1,"GLUtesselator"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -12550,4 +12564,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("gluquadrictexture",ring_gluQuadricTexture);
ring_vm_funcregister("gluscaleimage",ring_gluScaleImage);
ring_vm_funcregister("glusphere",ring_gluSphere);
+ ring_vm_funcregister("glutessbegincontour",ring_gluTessBeginContour);
}
