Update RingOpenGL 1.1 - Add Function (Source Code) : void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r)
@@ -7878,6 +7878,28 @@ RING_FUNC(ring_glTexCoord3dv)
glTexCoord3dv((GLdouble *) RING_API_GETCPOINTER(1,"GLdouble"));
}
+
+RING_FUNC(ring_glTexCoord3f)
+{
+ 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 ;
+ }
+ glTexCoord3f( (GLfloat ) RING_API_GETNUMBER(1), (GLfloat ) RING_API_GETNUMBER(2), (GLfloat ) RING_API_GETNUMBER(3));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -8155,6 +8177,7 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("gltexcoord2sv",ring_glTexCoord2sv);
ring_vm_funcregister("gltexcoord3d",ring_glTexCoord3d);
ring_vm_funcregister("gltexcoord3dv",ring_glTexCoord3dv);
+ ring_vm_funcregister("gltexcoord3f",ring_glTexCoord3f);
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
ring_vm_funcregister("get_gl_false",ring_get_gl_false);
ring_vm_funcregister("get_gl_logic_op",ring_get_gl_logic_op);
