Update RingOpenGL - Add Function (Source Code) : void gluQuadricOrientation(GLUquadric* quad,GLenum orientation)
@@ -11856,6 +11856,24 @@ RING_FUNC(ring_gluQuadricNormals)
gluQuadricNormals((GLUquadric *) RING_API_GETCPOINTER(1,"GLUquadric"), (GLenum ) (int) RING_API_GETNUMBER(2));
}
+
+RING_FUNC(ring_gluQuadricOrientation)
+{
+ 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_ISNUMBER(2) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ gluQuadricOrientation((GLUquadric *) RING_API_GETCPOINTER(1,"GLUquadric"), (GLenum ) (int) RING_API_GETNUMBER(2));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -12438,4 +12456,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glupwlcurve",ring_gluPwlCurve);
ring_vm_funcregister("gluquadricdrawstyle",ring_gluQuadricDrawStyle);
ring_vm_funcregister("gluquadricnormals",ring_gluQuadricNormals);
+ ring_vm_funcregister("gluquadricorientation",ring_gluQuadricOrientation);
}
