Update RingOpenGL - Add Function (Source Code) : void glRotated(GLdouble angle,GLdouble x,GLdouble y,GLdouble z)
@@ -7322,6 +7322,32 @@ RING_FUNC(ring_glResetHistogram)
glResetHistogram( (GLenum ) (int) RING_API_GETNUMBER(1));
}
+
+RING_FUNC(ring_glRotated)
+{
+ if ( RING_API_PARACOUNT != 4 ) {
+ RING_API_ERROR(RING_API_MISS4PARA);
+ 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 ;
+ }
+ if ( ! RING_API_ISNUMBER(4) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glRotated( (GLdouble ) RING_API_GETNUMBER(1), (GLdouble ) RING_API_GETNUMBER(2), (GLdouble ) RING_API_GETNUMBER(3), (GLdouble ) RING_API_GETNUMBER(4));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -7684,4 +7710,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glrectsv",ring_glRectsv);
ring_vm_funcregister("glrendermode",ring_glRenderMode);
ring_vm_funcregister("glresethistogram",ring_glResetHistogram);
+ ring_vm_funcregister("glrotated",ring_glRotated);
}
