removed more duplicate iterators

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

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++)
{