adjusted demos to include SoftDemo into AllBulletDemos
This commit is contained in:
@@ -11,7 +11,7 @@ const int BUNNY_NUM_VERTICES = 453;
|
||||
const int BUNNY_NUM_INDICES = BUNNY_NUM_TRIANGLES * 3;
|
||||
|
||||
|
||||
REAL gVerticesBunny[BUNNY_NUM_VERTICES * 3] = {
|
||||
static REAL gVerticesBunny[BUNNY_NUM_VERTICES * 3] = {
|
||||
REAL(-0.334392), REAL(0.133007), REAL(0.062259),
|
||||
REAL(-0.350189), REAL(0.150354), REAL(-0.147769),
|
||||
REAL(-0.234201), REAL(0.343811), REAL(-0.174307),
|
||||
@@ -467,7 +467,7 @@ REAL gVerticesBunny[BUNNY_NUM_VERTICES * 3] = {
|
||||
REAL(0.337656), REAL(0.131992), REAL(0.066374)
|
||||
};
|
||||
|
||||
int gIndicesBunny[BUNNY_NUM_TRIANGLES][3] = {
|
||||
static int gIndicesBunny[BUNNY_NUM_TRIANGLES][3] = {
|
||||
{126,134,133},
|
||||
{342,138,134},
|
||||
{133,134,138},
|
||||
|
||||
@@ -10,7 +10,7 @@ const int NUM_VERTICES = 300;
|
||||
const int NUM_INDICES = NUM_TRIANGLES * 3;
|
||||
|
||||
|
||||
Real gVertices[NUM_VERTICES * 3] = {
|
||||
static Real gVertices[NUM_VERTICES * 3] = {
|
||||
Real(2.5), Real(0), Real(0),
|
||||
Real(2.405), Real(0.294), Real(0),
|
||||
Real(2.155), Real(0.476), Real(0),
|
||||
@@ -314,7 +314,7 @@ Real gVertices[NUM_VERTICES * 3] = {
|
||||
};
|
||||
|
||||
|
||||
int gIndices[NUM_TRIANGLES][3] = {
|
||||
static int gIndices[NUM_TRIANGLES][3] = {
|
||||
{0, 1, 11},
|
||||
{1, 2, 12},
|
||||
{2, 3, 13},
|
||||
|
||||
Reference in New Issue
Block a user