Update RingOpenGL - Add Function (Source Code) : void glRasterPos3i(GLint x,GLint y,GLint z)
@@ -6912,6 +6912,28 @@ RING_FUNC(ring_glRasterPos3s)
free(RING_API_GETCPOINTER(3,"GLshort"));
}
+
+RING_FUNC(ring_glRasterPos3i)
+{
+ if ( RING_API_PARACOUNT != 3 ) {
+ RING_API_ERROR(RING_API_MISS3PARA);
+ return ;
+ }
+ if ( ! RING_API_ISNUMBER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ if ( ! RING_API_ISNUMBER(2) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ if ( ! RING_API_ISNUMBER(3) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glRasterPos3i( (GLint ) RING_API_GETNUMBER(1), (GLint ) RING_API_GETNUMBER(2), (GLint ) RING_API_GETNUMBER(3));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -7255,4 +7277,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glrasterpos2f",ring_glRasterPos2f);
ring_vm_funcregister("glrasterpos2d",ring_glRasterPos2d);
ring_vm_funcregister("glrasterpos3s",ring_glRasterPos3s);
+ ring_vm_funcregister("glrasterpos3i",ring_glRasterPos3i);
}
