bump up the version to 2.70, and add (non-working) button for OSX template

This commit is contained in:
erwin.coumans
2008-07-09 05:13:18 +00:00
parent 104787aeaf
commit 2c224b41c5
8 changed files with 86 additions and 11 deletions

View File

@@ -97,6 +97,9 @@ subject to the following restrictions:
+ (void) setDebugDraw: (BOOL) debugDraw;
+ (BOOL) debugDraw;
+ (void) setSplitImpulse: (BOOL) splitImpulse;
+ (BOOL) splitImpulse;
+ (void) setDrawContacts: (BOOL) drawContacts;
+ (BOOL) drawContacts;

View File

@@ -41,6 +41,7 @@ static int NumIterations = 10;
static BOOL DisableDeactivation = NO;
static BOOL DrawAABBs = NO;
static BOOL DebugDraw = NO;
static BOOL SplitImpulse = NO;
static BOOL DrawContacts = NO;
///////////////////////////////////////////////////////////////////////
@@ -376,6 +377,16 @@ static BOOL DrawContacts = NO;
return DebugDraw;
}
+ (void) setSplitImpulse: (BOOL) splitImpulse
{
SplitImpulse = splitImpulse;
}
+ (BOOL) splitImpulse
{
return SplitImpulse;
}
+ (void) setDrawContacts: (BOOL) drawContacts
{
DrawContacts = drawContacts;

View File

@@ -38,6 +38,9 @@ subject to the following restrictions:
- (void) setDebugDraw: (BOOL) debugDraw;
- (BOOL) debugDraw;
- (void) setSplitImpulse: (BOOL) splitImpulse;
- (BOOL) splitImpulse;
- (void) setDrawContacts: (BOOL) drawContacts;
- (BOOL) drawContacts;

View File

@@ -72,6 +72,17 @@ subject to the following restrictions:
return [BTDemo debugDraw];
}
- (void) setSplitImpulse: (BOOL) splitImpulse
{
[BTDemo setSplitImpulse: splitImpulse];
}
- (BOOL) splitImpulse
{
return [BTDemo splitImpulse];
}
- (void) setDrawContacts: (BOOL) drawContacts
{
[BTDemo setDrawContacts: drawContacts];