printf for debugging requires stdio.h
This commit is contained in:
@@ -18,6 +18,10 @@ subject to the following restrictions:
|
|||||||
#include "NarrowPhaseCollision/SimplexSolverInterface.h"
|
#include "NarrowPhaseCollision/SimplexSolverInterface.h"
|
||||||
#include "NarrowPhaseCollision/ConvexPenetrationDepthSolver.h"
|
#include "NarrowPhaseCollision/ConvexPenetrationDepthSolver.h"
|
||||||
|
|
||||||
|
#if defined(DEBUG) || defined (_DEBUG)
|
||||||
|
#include <stdio.h> //for debug printf
|
||||||
|
#endif
|
||||||
|
|
||||||
static const SimdScalar rel_error = SimdScalar(1.0e-5);
|
static const SimdScalar rel_error = SimdScalar(1.0e-5);
|
||||||
SimdScalar rel_error2 = rel_error * rel_error;
|
SimdScalar rel_error2 = rel_error * rel_error;
|
||||||
float maxdist2 = 1.e30f;
|
float maxdist2 = 1.e30f;
|
||||||
|
|||||||
Reference in New Issue
Block a user