예제 #1
0
void MyContactListener::BeginContact(b2Contact* contact)
{
	handleContact(contact, true);
}
예제 #2
0
void MyContactListener::EndContact(b2Contact* contact)
{
	handleContact(contact, false);
}
예제 #3
0
void MainWindow::tick()
{
    world->Step(1.0/60.0,6,2);
    scene->update();
    handleContact();
}