add FractureDemo to AllBulletDemos

improvements in CCD handling
some cleanup of CcdPhysicsDemo and BasicDemo
This commit is contained in:
erwin.coumans
2011-04-09 01:14:21 +00:00
parent 2291a6a9d3
commit cdddf9d25a
29 changed files with 550 additions and 867 deletions

View File

@@ -17,8 +17,7 @@ subject to the following restrictions:
#ifndef BMPLOADER_H_
#define BMPLOADER_H_
#include <cstdlib>
#include <iostream>
#include <stdlib.h>
namespace amd
{

View File

@@ -182,7 +182,7 @@ class piece_of_cloth
glBindTexture(GL_TEXTURE_2D, 0);
}
else {
std::cout << "ERROR: could not load bitmap, using placeholder " << std::endl;
printf("ERROR: could not load bitmap, using placeholder\n");
GLubyte* image=new GLubyte[256*256*3];
for(int y=0;y<256;++y)

View File

@@ -17,14 +17,10 @@ subject to the following restrictions:
#include "clstuff.h"
#include "gl_win.h"
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <string>
#include <iterator>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <cmath>
#include <cstring>
#include <string.h>
//#ifndef _WIN32 && !defined(__APPLE__)