Final 2.68 from Nathanael Presson, mainly soft body related. Added raycast support for soft bodies (press comma-key in the soft body demos to toggle ray cast tests)

This commit is contained in:
erwin.coumans
2008-04-14 06:24:56 +00:00
parent 912b4ccd29
commit be2490e4fb
11 changed files with 472 additions and 279 deletions

View File

@@ -41,7 +41,7 @@ namespace
int iterationCount = 10;
int width = 640;
int height = 480;
int framePeriod = 16;
int framePeriod = 16;//todo: test if this value should be 0
int mainWindow;
GLUI *glui;
float hz;
@@ -66,11 +66,8 @@ void Resize(int w, int h)
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
double ratio = (double)tw / (double)th;
if (demo)
demo->reshape(w, h);
demo->reshape(tw, th);
}
DemoApplication* CreatDemo(btDemoEntry* entry)