Skip to content

Commit

Permalink
update to delaunator 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
astraw committed Aug 5, 2024
1 parent 7714da0 commit 4f3c29a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ dlt = "0.13"
lstsq = "0.6.0"
parry2d-f64 = "0.17"
parry3d-f64 = "0.17"
delaunator = "0.2.0"
delaunator = "1.0"
ncollide2d = { package = "ncollide2d-updated", version = "0.36.3" }
ncollide3d = { package = "ncollide3d-updated", version = "0.36.3" }

Expand Down
2 changes: 1 addition & 1 deletion freemovr-calibration/ncollide-geom/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub fn mask_from_points(viewport_points: &[(f64, f64)]) -> Mask {
.map(|p| delaunator::Point { x: p.0, y: p.1 })
.collect();

let delaun = delaunator::triangulate(&points).expect("No triangulation exists.");
let delaun = delaunator::triangulate(&points);
let delta = nalgebra::Isometry2::identity();

let shapes: Vec<_> = delaun
Expand Down
2 changes: 1 addition & 1 deletion parry-geom/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub fn mask_from_points(viewport_points: &[(f64, f64)]) -> Mask {
.map(|p| delaunator::Point { x: p.0, y: p.1 })
.collect();

let delaun = delaunator::triangulate(&points).expect("No triangulation exists.");
let delaun = delaunator::triangulate(&points);
let delta = nalgebra::Isometry2::identity();

let shapes: Vec<_> = delaun
Expand Down

0 comments on commit 4f3c29a

Please sign in to comment.