--- branches/development/src/math/ConvexHull.cpp 2012/04/24 20:40:04 1704 +++ branches/development/src/math/ConvexHull.cpp 2013/01/09 19:27:52 1825 @@ -80,13 +80,14 @@ void ConvexHull::computeHull(std::vector facetT *facet; setT *vertices; int curlong, totlong; - pointT *intPoint; + // pointT *intPoint; std::vector ptArray(numpoints*dim_); // Copy the positon vector into a points vector for qhull. std::vector::iterator SD; int i = 0; + for (SD =bodydoubles.begin(); SD != bodydoubles.end(); ++SD){ Vector3d pos = (*SD)->getPos(); ptArray[dim_ * i] = pos.x(); @@ -204,8 +205,9 @@ void ConvexHull::computeHull(std::vector } //qh_new_qhull #endif - intPoint = qh interior_point; - RealType calcvol = 0.0; + // commented out below, so comment out here also. + // intPoint = qh interior_point; + // RealType calcvol = 0.0; FORALLfacets { Triangle face; //Qhull sets the unit normal in facet->normal