Update RingOpenGL - Add Function (Source Code) : void glEvalPoint1(GLint i)
@@ -2630,6 +2630,20 @@ RING_FUNC(ring_glEvalMesh1)
glEvalMesh1( (GLenum ) (int) RING_API_GETNUMBER(1), (GLint ) RING_API_GETNUMBER(2), (GLint ) RING_API_GETNUMBER(3));
}
+
+RING_FUNC(ring_glEvalPoint1)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISNUMBER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glEvalPoint1( (GLint ) RING_API_GETNUMBER(1));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -2756,4 +2770,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glevalcoord2f",ring_glEvalCoord2f);
ring_vm_funcregister("glevalcoord2d",ring_glEvalCoord2d);
ring_vm_funcregister("glevalmesh1",ring_glEvalMesh1);
+ ring_vm_funcregister("glevalpoint1",ring_glEvalPoint1);
}
