tools/rLuaParser/raylib-lua_test.h
int lua_CheckCollisionRecs(lua_State *L)
{
    Rectangle rec1 = LuaGetArgument_Rectangle(L, 1);
    Rectangle rec2 = LuaGetArgument_Rectangle(L, 2);
    bool result = CheckCollisionRecs(rec1, rec2);
    LuaPush_bool(L, result);
    return 1;
}
// Basic shapes collision detection functions
// Check collision between two rectangles
Basic shapes collision detection functions
Check collision between two rectangles
Basic shapes collision detection functions Check collision between two rectangles
int lua_CheckCollisionRecs(lua_State *L)
{
    Rectangle rec1 = LuaGetArgument_Rectangle(L, 1);
    Rectangle rec2 = LuaGetArgument_Rectangle(L, 2);
    bool result = CheckCollisionRecs(rec1, rec2);
    LuaPush_bool(L, result);
    return 1;
}
int lua_CheckCollisionRecs ( lua_State * L ) { Rectangle rec1 = LuaGetArgument_Rectangle ( L , 1 ) ; Rectangle rec2 = LuaGetArgument_Rectangle ( L , 2 ) ; bool result = CheckCollisionRecs ( rec1 , rec2 ) ; LuaPush_bool ( L , result ) ; return 1 ; }
Basic shapes collision detection functions
Check collision between two rectangles
Basic shapes collision detection functions Check collision between two rectangles