示例#1
0
int main(int argc,char** argv)
{
        Raytracer* raytraceDemo = new Raytracer();

        raytraceDemo->initPhysics();
        
        raytraceDemo->setCameraDistance(6.f);
		
        return glutmain(argc, argv,640,640,"Bullet GJK Implicit Shape Raytracer Demo",raytraceDemo);
}
示例#2
0
int main(int argc,char** argv)
{
	Raytracer* raytraceDemo = new Raytracer();

	raytraceDemo->initPhysics();
	
	raytraceDemo->setCameraDistance(6.f);

	return glutmain(argc, argv,screenWidth,screenHeight,"Minkowski-Sum Raytracer Demo",raytraceDemo);
}