Update RingOpenGL - Add Function (Source Code) : void glMultTransposeMatrixd(const GLdouble * m)
@@ -5496,6 +5496,20 @@ RING_FUNC(ring_glMultMatrixf)
glMultMatrixf((GLfloat *) RING_API_GETCPOINTER(1,"GLfloat"));
}
+
+RING_FUNC(ring_glMultTransposeMatrixd)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glMultTransposeMatrixd((GLdouble *) RING_API_GETCPOINTER(1,"GLdouble"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -5764,4 +5778,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glminmax",ring_glMinmax);
ring_vm_funcregister("glmultmatrixd",ring_glMultMatrixd);
ring_vm_funcregister("glmultmatrixf",ring_glMultMatrixf);
+ ring_vm_funcregister("glmulttransposematrixd",ring_glMultTransposeMatrixd);
}
