Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_SPOT_EXPONENT
@@ -1590,6 +1590,11 @@ RING_FUNC(ring_get_gl_spot_direction)
RING_API_RETNUMBER(GL_SPOT_DIRECTION);
}
+RING_FUNC(ring_get_gl_spot_exponent)
+{
+ RING_API_RETNUMBER(GL_SPOT_EXPONENT);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1908,4 +1913,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_specular",ring_get_gl_specular);
ring_vm_funcregister("get_gl_position",ring_get_gl_position);
ring_vm_funcregister("get_gl_spot_direction",ring_get_gl_spot_direction);
+ ring_vm_funcregister("get_gl_spot_exponent",ring_get_gl_spot_exponent);
}
