Update RingOpenGL - Add Function (Source Code) : void glEvalCoord1d(GLdouble u)
@@ -2558,6 +2558,20 @@ RING_FUNC(ring_glEvalCoord1f)
glEvalCoord1f( (GLfloat ) RING_API_GETNUMBER(1));
}
+
+RING_FUNC(ring_glEvalCoord1d)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISNUMBER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glEvalCoord1d( (GLdouble ) RING_API_GETNUMBER(1));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -2680,4 +2694,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glendlist",ring_glEndList);
ring_vm_funcregister("glendquery",ring_glEndQuery);
ring_vm_funcregister("glevalcoord1f",ring_glEvalCoord1f);
+ ring_vm_funcregister("glevalcoord1d",ring_glEvalCoord1d);
}
