mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
Update userdata stuff to how new box2d wants it
This commit is contained in:
@@ -139,9 +139,6 @@ public:
|
||||
/// Get the user data pointer.
|
||||
b2JointUserData& GetUserData();
|
||||
|
||||
/// Set the user data pointer.
|
||||
void SetUserData(b2JointUserData& userData);
|
||||
|
||||
/// Short-cut function to determine if either body is enabled.
|
||||
bool IsEnabled() const;
|
||||
|
||||
@@ -223,11 +220,6 @@ inline b2JointUserData& b2Joint::GetUserData()
|
||||
return m_userData;
|
||||
}
|
||||
|
||||
inline void b2Joint::SetUserData(b2JointUserData& userData)
|
||||
{
|
||||
m_userData = userData;
|
||||
}
|
||||
|
||||
inline bool b2Joint::GetCollideConnected() const
|
||||
{
|
||||
return m_collideConnected;
|
||||
|
||||
Reference in New Issue
Block a user