Go to the documentation of this file.
111 dst[0] = (float) src[0];
112 dst[1] = (float) src[1];
113 dst[2] = (float) src[2];
160 const double *vertices,
174 if (
mFlags & flag )
return true;
234 double ComputeNormal(
double *n,
const double *A,
const double *B,
const double *C);
237 void BringOutYourDead(
const double *verts,
unsigned int vcount,
double *overts,
unsigned int &ocount,
unsigned int *indices,
unsigned indexcount);
240 const double *svertices,
242 unsigned int &vcount,
244 double normalepsilon,
void AddConvexTriangle(ConvexHullTriangleInterface *callback, const double *p1, const double *p2, const double *p3)
virtual void ConvexHullTriangle(const ConvexHullVertex &v1, const ConvexHullVertex &v2, const ConvexHullVertex &v3)=0
unsigned int mNumOutputVertices
HullError CreateConvexHull(const HullDesc &desc, HullResult &result)
HullError ReleaseResult(HullResult &result)
void BringOutYourDead(const double *verts, unsigned int vcount, double *overts, unsigned int &ocount, unsigned int *indices, unsigned indexcount)
unsigned int mMaxVertices
unsigned int mVertexStride
bool CleanupVertices(unsigned int svcount, const double *svertices, unsigned int stride, unsigned int &vcount, double *vertices, double normalepsilon, double *scale)
void SetHullFlag(HullFlag flag)
double ComputeNormal(double *n, const double *A, const double *B, const double *C)
unsigned int mNumOutputVertices
bool HasHullFlag(HullFlag flag) const
HullError CreateTriangleMesh(HullResult &answer, ConvexHullTriangleInterface *iface)
FHullResult(const HullResult &r)
void ClearHullFlag(HullFlag flag)
HullDesc(HullFlag flag, unsigned int vcount, const double *vertices, unsigned int stride)