Update RingRayLib - raylib.c - Add Function : void EndMode3D(void)
@@ -461,6 +461,16 @@ RING_FUNC(ring_BeginMode3D)
ring_state_free(((VM *) pPointer)->pRingState,RING_API_GETCPOINTER(1,"Camera3D"));
}
+
+RING_FUNC(ring_EndMode3D)
+{
+ if ( RING_API_PARACOUNT != 0 ) {
+ RING_API_ERROR(RING_API_BADPARACOUNT);
+ return ;
+ }
+ EndMode3D();
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("initwindow",ring_InitWindow);
@@ -501,4 +511,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("beginmode2d",ring_BeginMode2D);
ring_vm_funcregister("endmode2d",ring_EndMode2D);
ring_vm_funcregister("beginmode3d",ring_BeginMode3D);
+ ring_vm_funcregister("endmode3d",ring_EndMode3D);
}
