added a missing std::

This commit is contained in:
Paolo Cignoni 2008-10-14 14:28:33 +00:00
parent 6f1e8d0641
commit 9b0875d19e
1 changed files with 1 additions and 1 deletions

View File

@ -652,7 +652,7 @@ public:
if( fabs((*vi).N().Normalize() * vect.GetRow(i)) > normal ){normal= fabs((*vi).N().Normalize() * vect.GetRow(i)); normI = i;}
int maxI = (normI+2)%3;
int minI = (normI+1)%3;
if(fabs(lambda[maxI]) < fabs(lambda[minI])) swap(maxI,minI);
if(fabs(lambda[maxI]) < fabs(lambda[minI])) std::swap(maxI,minI);
(*vi).PD1() = *(Point3<ScalarType>*)(& vect[maxI][0]);
(*vi).PD2() = *(Point3<ScalarType>*)(& vect[minI][0]);