22 #ifndef __ND_SHAPE_CONVEXHULL_H__
23 #define __ND_SHAPE_CONVEXHULL_H__
25 #include "ndShapeConvex.h"
35 D_COLLISION_API
ndShapeConvexHull(ndInt32 count, ndInt32 strideInBytes, ndFloat32 tolerance,
const ndFloat32*
const vertexArray, ndInt32 maxPointsOut = 0x7fffffff);
42 bool Create(ndInt32 count, ndInt32 strideInBytes,
const ndFloat32*
const vertexArray, ndFloat32 tolerance, ndInt32 maxPointsOut);
43 virtual ndVector SupportVertex(
const ndVector& dir, ndInt32*
const vertexIndex)
const;
47 ndVector SupportVertexBruteForce(
const ndVector& dir, ndInt32*
const vertexIndex)
const;
48 ndVector SupportVertexhierarchical(
const ndVector& dir, ndInt32*
const vertexIndex)
const;
61 ndInt32 m_soaVertexCount;
62 ndInt32 m_supportTreeCount;
63 } D_GCC_NEWTON_ALIGN_32;