Update RingOpenGL - Add Function (Source Code) : void glRasterPos3d(GLdouble x,GLdouble y,GLdouble z)
@@ -6956,6 +6956,28 @@ RING_FUNC(ring_glRasterPos3f)
glRasterPos3f( (GLfloat ) RING_API_GETNUMBER(1), (GLfloat ) RING_API_GETNUMBER(2), (GLfloat ) RING_API_GETNUMBER(3));
}
+
+RING_FUNC(ring_glRasterPos3d)
+{
+ 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 ;
+ }
+ glRasterPos3d( (GLdouble ) RING_API_GETNUMBER(1), (GLdouble ) RING_API_GETNUMBER(2), (GLdouble ) RING_API_GETNUMBER(3));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -7301,4 +7323,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glrasterpos3s",ring_glRasterPos3s);
ring_vm_funcregister("glrasterpos3i",ring_glRasterPos3i);
ring_vm_funcregister("glrasterpos3f",ring_glRasterPos3f);
+ ring_vm_funcregister("glrasterpos3d",ring_glRasterPos3d);
}
