mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-11 01:40:10 +00:00
added main.cpp
This commit is contained in:
parent
5e343b54b2
commit
7c5fbb9fbd
15
Demos/GimpactTestDemo/main.cpp
Normal file
15
Demos/GimpactTestDemo/main.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
#include "GimpactConcaveDemo.h"
|
||||
#include "GlutStuff.h"
|
||||
|
||||
//################################## main #####################################
|
||||
int main(int argc,char** argv)
|
||||
{
|
||||
gContactAddedCallback = CustomMaterialCombinerCallback;
|
||||
|
||||
GimpactConcaveDemo* concaveDemo = new GimpactConcaveDemo(); /// This will not be Deleted!!!
|
||||
concaveDemo->initPhysics();
|
||||
concaveDemo->setCameraDistance(45.f);
|
||||
|
||||
return glutmain(argc, argv,640,480,"DevO,s GIMPACT Test Demo",concaveDemo);
|
||||
}
|
Loading…
Reference in New Issue
Block a user