tools/rLuaParser/raylib-lua_test.h
int lua_CheckCollisionPointTriangle(lua_State *L)
{
    Vector2 point = LuaGetArgument_Vector2(L, 1);
    Vector2 p1 = LuaGetArgument_Vector2(L, 2);
    Vector2 p2 = LuaGetArgument_Vector2(L, 3);
    Vector2 p3 = LuaGetArgument_Vector2(L, 4);
    bool result = CheckCollisionPointTriangle(point, p1, p2, p3);
    LuaPush_bool(L, result);
    return 1;
}
// Check if point is inside a triangle
Check if point is inside a triangle
Check if point is inside a triangle
int lua_CheckCollisionPointTriangle(lua_State *L)
{
    Vector2 point = LuaGetArgument_Vector2(L, 1);
    Vector2 p1 = LuaGetArgument_Vector2(L, 2);
    Vector2 p2 = LuaGetArgument_Vector2(L, 3);
    Vector2 p3 = LuaGetArgument_Vector2(L, 4);
    bool result = CheckCollisionPointTriangle(point, p1, p2, p3);
    LuaPush_bool(L, result);
    return 1;
}
int lua_CheckCollisionPointTriangle ( lua_State * L ) { Vector2 point = LuaGetArgument_Vector2 ( L , 1 ) ; Vector2 p1 = LuaGetArgument_Vector2 ( L , 2 ) ; Vector2 p2 = LuaGetArgument_Vector2 ( L , 3 ) ; Vector2 p3 = LuaGetArgument_Vector2 ( L , 4 ) ; bool result = CheckCollisionPointTriangle ( point , p1 , p2 , p3 ) ; LuaPush_bool ( L , result ) ; return 1 ; }
Check if point is inside a triangle
Check if point is inside a triangle