[occ] remove debug messages
#include <iostream>
#include <boost/typeof/typeof.hpp>
+#undef DEBUG_MESSAGES
+#include "debug.h"
+
OccR::OccR(const ContactPoint& contact1,
const ContactPoint& contact2,
const DistanceCalculatorType& distance_calculator) :
@@ -40,7 +43,7 @@ void OccR::computeh(double time, BlockVector& q0, SiconosVector& y)
ContactShapeDistance& dist = this->_geometer->answer;
- printf("---->%g P1=(%g, %g, %g) P2=(%g,%g,%g) N=(%g, %g, %g)\n", dist.value,
+ DEBUG_PRINTF("---->%g P1=(%g, %g, %g) P2=(%g,%g,%g) N=(%g, %g, %g)\n", dist.value,
dist.x1, dist.y1, dist.z1,
dist.x2, dist.y2, dist.z2,
dist.nx, dist.ny, dist.nz);
