- fix issue with convex cast: results further away (larger hitfraction) could overwrite closer results
- minor naming convention thing (variables start with lower case) - renamed MotorDemo - added ConcaveConvexcastDemo, Thanks John McCutchan (JMC)
This commit is contained in:
15
Demos/ConcaveConvexcastDemo/main.cpp
Normal file
15
Demos/ConcaveConvexcastDemo/main.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
#include "ConcaveConvexcastDemo.h"
|
||||
#include "GlutStuff.h"
|
||||
|
||||
|
||||
int main(int argc,char** argv)
|
||||
{
|
||||
|
||||
ConcaveConvexcastDemo* concaveConvexcastDemo = new ConcaveConvexcastDemo();
|
||||
concaveConvexcastDemo->initPhysics();
|
||||
concaveConvexcastDemo->setCameraDistance(30.f);
|
||||
|
||||
return glutmain(argc, argv,640,480,"Concave Convexcast Demo",concaveConvexcastDemo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user