1 #ifndef CONVEX_DECOMPOSITION_H 3 #define CONVEX_DECOMPOSITION_H 75 ConvexResult(
unsigned int hvcount,
const double *hvertices,
unsigned int htcount,
const unsigned int *hindices)
158 dest[0] = (float) src[0];
159 dest[1] = (float) src[1];
160 dest[2] = (float) src[2];
195 virtual void ConvexDebugTri(
const double *p1,
const double *p2,
const double *p3,
unsigned int color) { };
197 virtual void ConvexDebugBound(
const double *bmin,
const double *bmax,
unsigned int color) { };
198 virtual void ConvexDebugOBB(
const double *sides,
const double *matrix,
unsigned int color) { };
200 virtual void ConvexDecompResult(
ConvexResult &result) = 0;
virtual void ConvexDebugOBB(const double *sides, const double *matrix, unsigned int color)
ConvexResult(unsigned int hvcount, const double *hvertices, unsigned int htcount, const unsigned int *hindices)
virtual void ConvexDebugBound(const double *bmin, const double *bmax, unsigned int color)
virtual void ConvexDebugPoint(const double *p, double dist, unsigned int color)
unsigned int performConvexDecomposition(const DecompDesc &desc)
virtual void ConvexDebugTri(const double *p1, const double *p2, const double *p3, unsigned int color)
unsigned int * mHullIndices
FConvexResult(const ConvexResult &r)
ConvexDecompInterface * mCallback
ConvexResult(const ConvexResult &r)
unsigned int * mHullIndices
unsigned int mMaxVertices