Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_SPOT_CUTOFF
@@ -1595,6 +1595,11 @@ RING_FUNC(ring_get_gl_spot_exponent)
RING_API_RETNUMBER(GL_SPOT_EXPONENT);
}
+RING_FUNC(ring_get_gl_spot_cutoff)
+{
+ RING_API_RETNUMBER(GL_SPOT_CUTOFF);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1914,4 +1919,5 @@ RING_API void ringlib_init(RingState *pRingState)
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);
+ ring_vm_funcregister("get_gl_spot_cutoff",ring_get_gl_spot_cutoff);
}
