Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.4.0

- Update parry dependency to 0.21.

## v0.3.1

- Fix the extraction of a mesh from the poisson reconstruction.
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "poisson_reconstruction"
repository = "https://github.com/ForesightMiningSoftwareCorporation/PoissonReconstruction"
version = "0.3.1"
version = "0.4.0"
license = "MIT OR Apache-2.0"
description = "Screened Poisson Reconstruction algorithm in Rust"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
Expand All @@ -17,8 +17,8 @@ serde = { version = "1", features = ["derive"], optional = true }
rayon = "1"
nalgebra = "0.33"
nalgebra-sparse = "0.10"
parry3d-f64 = "0.17"
itertools = "0.10"
parry3d-f64 = "0.21"
itertools = "0.14"
fnv = "1"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/marching_cubes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl MeshBuffers {
.chunks_exact(3)
.map(|i| [i[0], i[1], i[2]])
.collect();
(!idx.is_empty()).then(|| TriMesh::with_flags(self.vertices.clone(), idx, flags))
TriMesh::with_flags(self.vertices.clone(), idx, flags).ok()
}
}

Expand Down
Loading