added btGetVersion(), return integer without the fraction: for example 2.64 returns 264.

moved more demos into AllBulletDemos
This commit is contained in:
ejcoumans
2007-10-25 04:37:48 +00:00
parent 7c5fbb9fbd
commit 5f5dfcf6b8
19 changed files with 138 additions and 76 deletions

View File

@@ -160,6 +160,8 @@ void MouseMotion(int x, int y)
int main(int argc, char** argv)
{
int bulletVersion = btGetVersion();
printf("Bullet version %d\n",bulletVersion);
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE |GLUT_DEPTH);