removed more duplicate iterators

This commit is contained in:
ejcoumans committed 2006-10-03 18:01:24 +00:00
1 parent 1208c67f85
commit d85ecfe5c2
2 files changed
+11 -8

No files matched your search

+3 -2
View File
@@ -229,9 +229,10 @@ void Raytracer::displayCallback()
btSphereShape pointShape(0.0f);
int x;
///clear texture
for (int x=0;x<screenWidth;x++)
for (x=0;x<screenWidth;x++)
{
for (int y=0;y<screenHeight;y++)
{
@@ -245,7 +246,7 @@ void Raytracer::displayCallback()
btTransform rayToTrans;
rayToTrans.setIdentity();
btVector3 rayTo;
for (int x=0;x<screenWidth;x++)
for (x=0;x<screenWidth;x++)
{
for (int y=0;y<screenHeight;y++)
{