Updated chipmunk 0.6 with the current beta. Removed some deprecated functions, still lacks of some new functions, i'll add them soon.

This commit is contained in:
spartanj
2011-04-19 04:48:02 -03:00
parent ee44006033
commit 5cd33cc4e9
62 changed files with 2192 additions and 1356 deletions

View File

@@ -1714,7 +1714,6 @@ void cEETest::ChangeDemo( Uint32 num ) {
void cEETest::PhysicsCreate() {
cPhysicsManager::CreateSingleton();
cPhysicsManager::instance()->CollisionSlop( 0.2 );
cPhysicsManager * PM = cPhysicsManager::instance();
cPhysicsManager::cDrawSpaceOptions * DSO = PM->GetDrawOptions();
@@ -1759,7 +1758,6 @@ void cEETest::PhysicsUpdate() {
mMouseJoint = eeNew( cPivotJoint, ( mMouseBody, shape->Body(), cVectZero, shape->Body()->World2Local( point ) ) );
mMouseJoint->MaxForce( 50000.0f );
mMouseJoint->BiasCoef( 0.15f );
mSpace->AddConstraint( mMouseJoint );
}
}