ConvexDecomposition
constructor(vertices: List<DVec3>, indices: List<IVec3>, vhacd: VhacdSettings = VhacdSettings(), margin: Double = DEFAULT_MARGIN)
Parameters
vertices
The vertex buffer of the mesh.
indices
The indices buffer, determining which faces are made up of which vertices.
vhacd
The settings for the VHACD algorithm.
margin
The convex margin of the shape. See ConvexGeometry.