pointer suffices
This commit is contained in:
parent
7e8b5f217e
commit
17b784cb41
1 changed files with 1 additions and 1 deletions
|
|
@ -426,7 +426,7 @@ impl Xenobalanus {
|
|||
}
|
||||
|
||||
/// Calculates the concave hull for a subset of vertices indicated by their indices, based on the alpha parameter.
|
||||
pub fn concave_hull(&self, vertex_indices: Vec<usize>, alpha: f32) -> Result<Vec<usize>, &'static str> {
|
||||
pub fn concave_hull(&self, vertex_indices: &Vec<usize>, alpha: f32) -> Result<Vec<usize>, &'static str> {
|
||||
// Perform Delaunay triangulation on the subset of vertices.
|
||||
let triangulation_indices = self.delaunay_sub(vertex_indices.clone());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue