Update RingOpenGL - Add Function (Source Code) : GLUquadric *gluNewQuadric(void)
@@ -11472,6 +11472,16 @@ RING_FUNC(ring_gluNewNurbsRenderer)
RING_API_RETCPOINTER(gluNewNurbsRenderer(),"GLUnurbs");
}
+
+RING_FUNC(ring_gluNewQuadric)
+{
+ if ( RING_API_PARACOUNT != 0 ) {
+ RING_API_ERROR(RING_API_BADPARACOUNT);
+ return ;
+ }
+ RING_API_RETCPOINTER(gluNewQuadric(),"GLUquadric");
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -12040,4 +12050,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("gluloadsamplingmatrices",ring_gluLoadSamplingMatrices);
ring_vm_funcregister("glulookat",ring_gluLookAt);
ring_vm_funcregister("glunewnurbsrenderer",ring_gluNewNurbsRenderer);
+ ring_vm_funcregister("glunewquadric",ring_gluNewQuadric);
}
