From 17b784cb4135475a145e765039d96fb9fc47408f Mon Sep 17 00:00:00 2001 From: randogoth Date: Mon, 1 Apr 2024 14:17:14 +0300 Subject: [PATCH] pointer suffices --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 5bc7656..c466a26 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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, alpha: f32) -> Result, &'static str> { + pub fn concave_hull(&self, vertex_indices: &Vec, alpha: f32) -> Result, &'static str> { // Perform Delaunay triangulation on the subset of vertices. let triangulation_indices = self.delaunay_sub(vertex_indices.clone());