Update RingOpenGL - Add Function (Source Code) : void glMultMatrixd(const GLdouble * m)
@@ -5468,6 +5468,20 @@ RING_FUNC(ring_glMinmax)
glMinmax( (GLenum ) (int) RING_API_GETNUMBER(1), (GLenum ) (int) RING_API_GETNUMBER(2), (GLboolean ) RING_API_GETNUMBER(3));
}
+
+RING_FUNC(ring_glMultMatrixd)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glMultMatrixd((GLdouble *) RING_API_GETCPOINTER(1,"GLdouble"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -5734,4 +5748,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glmateriali",ring_glMateriali);
ring_vm_funcregister("glmatrixmode",ring_glMatrixMode);
ring_vm_funcregister("glminmax",ring_glMinmax);
+ ring_vm_funcregister("glmultmatrixd",ring_glMultMatrixd);
}
