public final class VHACD
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.logging.Logger |
logger
message logger for this class
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addProgressListener(VHACDProgressListener listener)
Register the specified progress listener.
|
static java.util.List<VHACDHull> |
compute(float[] positions,
int[] indices,
VHACDParameters params)
Generate convex hulls to approximate the specified mesh.
|
static void |
removeProgressListener(VHACDProgressListener listener)
De-register the specified progress listener.
|
public static final java.util.logging.Logger logger
public static void addProgressListener(VHACDProgressListener listener)
listener - the listener to register (not null, alias created)public static java.util.List<VHACDHull> compute(float[] positions, int[] indices, VHACDParameters params)
positions - the positions of all mesh vertices (not null, length a
multiple of 3, unaffected)indices - the vertex indices of all mesh triangles (not null, length
a multiple of 3, unaffected)params - the tuning parameters to use (not null, unaffected)public static void removeProgressListener(VHACDProgressListener listener)
listener - the listener to de-register (not null, unaffected)