Commits

Jeremy Sandell committed 942f520 Draft

comment out currently unused variable for now.

Comments (0)

Files changed (1)

CameraControlSystem/src/CCSFreeCameraMode.cpp

 	Ogre::RaySceneQueryResult &result = raySceneQuery->execute();
 	Ogre::RaySceneQueryResult::iterator itr = result.begin();
 
-	bool intersect = false;
+	//bool intersect = false;
 	while (itr != result.end() /*&& !intersect*/) //! @todo are the results ordered ?? if so, uncomment (optimization)
 	{
 		if( itr->distance < minDistance // take the shorter
 			&& mIgnoreList.find(itr->movable) == mIgnoreList.end())
 		{
             minDistance = itr->distance;
-			intersect = true;
+			//intersect = true;
 			if(itr->worldFragment)
 			{
 				hit = itr->worldFragment->singleIntersection;