Update RingOpenGL - Add Function (Source Code) : void glFogCoordfv(GLfloat * coord)
@@ -2818,6 +2818,20 @@ RING_FUNC(ring_glFogCoorddv)
glFogCoorddv((GLdouble *) RING_API_GETCPOINTER(1,"GLdouble"));
}
+
+RING_FUNC(ring_glFogCoordfv)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glFogCoordfv((GLfloat *) RING_API_GETCPOINTER(1,"GLfloat"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -2956,4 +2970,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glfogcoordd",ring_glFogCoordd);
ring_vm_funcregister("glfogcoordf",ring_glFogCoordf);
ring_vm_funcregister("glfogcoorddv",ring_glFogCoorddv);
+ ring_vm_funcregister("glfogcoordfv",ring_glFogCoordfv);
}
