This commit is contained in:
ejcoumans committed 2006-11-09 15:27:02 +00:00
1 parent 5102b7ac60
commit 4ab4fc8bb1
4 files changed
+11 -4

No files matched your search

+3 -3
View File
@@ -73,8 +73,8 @@ renderTexture* raytracePicture = 0;
//this applies to the raytracer virtual screen/image buffer
int screenWidth = 128;
float aspectRatio = (3.f/4.f);
int screenHeight = screenWidth * aspectRatio;
//float aspectRatio = (3.f/4.f);
int screenHeight = 128;//screenWidth * aspectRatio;
GLuint glTextureId;
btSphereShape mySphere(1);
@@ -99,7 +99,7 @@ int main(int argc,char** argv)
raytraceDemo->setCameraDistance(6.f);
return glutmain(argc, argv,640,480,"Bullet GJK Implicit Shape Raytracer Demo",raytraceDemo);
return glutmain(argc, argv,640,640,"Bullet GJK Implicit Shape Raytracer Demo",raytraceDemo);
}
void Raytracer::initPhysics()