* turned on all warnings
* fixed some things that caused warnings
# optimization
-CXXFLAGS+= -O2 -DOPTIMIZE
-CPPFLAGS+= -O2 -DOPTIMIZE
+CXXFLAGS+= -O2 -DOPTIMIZE -Wall
+CPPFLAGS+= -O2 -DOPTIMIZE -Wall
# for log
CXXFLAGS+= -DLOG_LEVEL=0
sort((polygon.begin()), polygon.end(), order);
LOG(3,"Sorted polygon is ");
- for(int i = 0 ; i < polygon.size() ; ++i)
+ for(size_t i = 0 ; i < polygon.size() ; ++i)
{
LOG(3,vToStr(polygon[i]));
}
_doubleProducts[8*seg + dp] = 0.0;
};
}
-#endif OPTIMIZE
+#endif //OPTIMIZE
/**
* Calculate the shortest distance between a tetrahedron corner and a triangle segment.