Skip to content

Commit

Permalink
Rename new function to update_vertex_z_value()
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoledoux committed Mar 14, 2024
1 parent 3d67800 commit 3164f5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1750,8 +1750,8 @@ impl Triangulation {
}
}

/// Set/update the z-value for a given vertex
pub fn set_vertex_z_value(&mut self, vi: usize, z: f64) -> Result<bool, StartinError> {
/// Update/set the z-value for a given vertex
pub fn update_vertex_z_value(&mut self, vi: usize, z: f64) -> Result<bool, StartinError> {
if vi == 0 {
return Ok(false);
}
Expand Down

0 comments on commit 3164f5f

Please sign in to comment.