Update RingRayLib - raylib.c - Add Function : void DrawCubeWiresV(Vector3 position, Vector3 size, Color color)
@@ -4676,6 +4676,22 @@ RING_FUNC(ring_DrawCubeWires)
ring_state_free(((VM *) pPointer)->pRingState,RING_API_GETCPOINTER(5,"Color"));
}
+
+RING_FUNC(ring_DrawCubeWiresV)
+{
+ if ( RING_API_PARACOUNT != 3 ) {
+ RING_API_ERROR(RING_API_MISS3PARA);
+ return ;
+ }
+ DrawCubeWiresV(* (Vector3 *) RING_API_GETCPOINTER(1,"Vector3"),* (Vector3 *) RING_API_GETCPOINTER(2,"Vector3"),* (Color *) RING_API_GETCPOINTER(3,"Color"));
+ if (RING_API_ISCPOINTERNOTASSIGNED(1))
+ ring_state_free(((VM *) pPointer)->pRingState,RING_API_GETCPOINTER(1,"Vector3"));
+ if (RING_API_ISCPOINTERNOTASSIGNED(2))
+ ring_state_free(((VM *) pPointer)->pRingState,RING_API_GETCPOINTER(2,"Vector3"));
+ if (RING_API_ISCPOINTERNOTASSIGNED(3))
+ ring_state_free(((VM *) pPointer)->pRingState,RING_API_GETCPOINTER(3,"Color"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("initwindow",ring_InitWindow);
@@ -4943,4 +4959,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("drawcube",ring_DrawCube);
ring_vm_funcregister("drawcubev",ring_DrawCubeV);
ring_vm_funcregister("drawcubewires",ring_DrawCubeWires);
+ ring_vm_funcregister("drawcubewiresv",ring_DrawCubeWiresV);
}
