bump up the version to 2.70, and add (non-working) button for OSX template
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user