ConvexMesh

constructor(vertices: List<DVec3>, indices: List<IVec3>, 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.

margin

The convex margin of the shape. See ConvexGeometry.