added main.cpp
This commit is contained in:
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);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user