mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Remove functions that were deprecated in LÖVE 11.
--HG-- branch : minor
This commit is contained in:
@@ -178,12 +178,6 @@ int w_PrismaticJoint_getReferenceAngle(lua_State *L)
|
||||
return 1;
|
||||
}
|
||||
|
||||
int w_PrismaticJoint_hasLimitsEnabled(lua_State *L)
|
||||
{
|
||||
luax_markdeprecated(L, "PrismaticJoint:hasLimitsEnabled", API_METHOD, DEPRECATED_RENAMED, "PrismaticJoint:areLimitsEnabled");
|
||||
return w_PrismaticJoint_areLimitsEnabled(L);
|
||||
}
|
||||
|
||||
static const luaL_Reg w_PrismaticJoint_functions[] =
|
||||
{
|
||||
{ "getJointTranslation", w_PrismaticJoint_getJointTranslation },
|
||||
@@ -206,9 +200,6 @@ static const luaL_Reg w_PrismaticJoint_functions[] =
|
||||
{ "getAxis", w_PrismaticJoint_getAxis },
|
||||
{ "getReferenceAngle", w_PrismaticJoint_getReferenceAngle },
|
||||
|
||||
// Deprecated
|
||||
{ "hasLimitsEnabled", w_PrismaticJoint_hasLimitsEnabled },
|
||||
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user