mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Add Contact:getChildren (pull request #15)
This commit is contained in:
@@ -126,6 +126,12 @@ void Contact::resetRestitution()
|
||||
contact->ResetRestitution();
|
||||
}
|
||||
|
||||
void Contact::getChildren(int &childA, int &childB)
|
||||
{
|
||||
childA = contact->GetChildIndexA();
|
||||
childB = contact->GetChildIndexB();
|
||||
}
|
||||
|
||||
} // box2d
|
||||
} // physics
|
||||
} // love
|
||||
|
||||
Reference in New Issue
Block a user