tools/rLuaParser/raylib-lua_test.h
int lua_DrawTriangle(lua_State *L)
{
    Vector2 v1 = LuaGetArgument_Vector2(L, 1);
    Vector2 v2 = LuaGetArgument_Vector2(L, 2);
    Vector2 v3 = LuaGetArgument_Vector2(L, 3);
    Color color = LuaGetArgument_Color(L, 4);
    DrawTriangle(v1, v2, v3, color);
    return 0;
}
// Draw a color-filled triangle
Draw a color-filled triangle
Draw a color - filled triangle
int lua_DrawTriangle(lua_State *L)
{
    Vector2 v1 = LuaGetArgument_Vector2(L, 1);
    Vector2 v2 = LuaGetArgument_Vector2(L, 2);
    Vector2 v3 = LuaGetArgument_Vector2(L, 3);
    Color color = LuaGetArgument_Color(L, 4);
    DrawTriangle(v1, v2, v3, color);
    return 0;
}
int lua_DrawTriangle ( lua_State * L ) { Vector2 v1 = LuaGetArgument_Vector2 ( L , 1 ) ; Vector2 v2 = LuaGetArgument_Vector2 ( L , 2 ) ; Vector2 v3 = LuaGetArgument_Vector2 ( L , 3 ) ; Color color = LuaGetArgument_Color ( L , 4 ) ; DrawTriangle ( v1 , v2 , v3 , color ) ; return 0 ; }
Draw a color-filled triangle
Draw a color - filled triangle