Skip to content

Commit 6755d0c

Browse files
authored
Release 0.25.0 (#381)
1 parent c8bae14 commit 6755d0c

File tree

6 files changed

+12
-25
lines changed

6 files changed

+12
-25
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 0.25.0
2+
3+
- The `Voxels` shape now uses a sparse storage internally.
4+
- Remove `Voxels::try_set_voxel`. Use `::set_voxel` instead.
5+
- The `Voxels::domain` function returns values instead of references now.
6+
- Removed `Voxels::extents` and `Voxels::domain_center`. They can be obtained
7+
from `Voxels::local_aabb`.
8+
19
## 0.24.0
210

311
- Fixed same-machine determinism of the re-exported hashmap when building without the `enhanced-determinism` feature.

crates/parry2d-f64/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "parry2d-f64"
3-
version = "0.24.0"
3+
version = "0.25.0"
44
authors = ["Sébastien Crozet <developer@crozet.re>"]
55

66
description = "2 dimensional collision detection library in Rust. 64-bit precision version."

crates/parry2d/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "parry2d"
3-
version = "0.24.0"
3+
version = "0.25.0"
44
authors = ["Sébastien Crozet <developer@crozet.re>"]
55

66
description = "2 dimensional collision detection library in Rust."

crates/parry3d-f64/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "parry3d-f64"
3-
version = "0.24.0"
3+
version = "0.25.0"
44
authors = ["Sébastien Crozet <developer@crozet.re>"]
55

66
description = "3 dimensional collision detection library in Rust. 64-bits precision version."

crates/parry3d/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "parry3d"
3-
version = "0.24.0"
3+
version = "0.25.0"
44
authors = ["Sébastien Crozet <developer@crozet.re>"]
55

66
description = "3 dimensional collision detection library in Rust."

src/shape/voxels/voxels.rs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -278,27 +278,6 @@ impl Voxels {
278278
&self.chunk_bvh
279279
}
280280

281-
// /// The extents of the total axis-aligned volume covered by this [`Voxels`] shape.
282-
// ///
283-
// /// This accounts for all the voxels reserved in the internal buffer of `self`, including empty
284-
// /// ones.
285-
// pub fn extents(&self) -> Vector<Real> {
286-
// self.dimensions()
287-
// .cast::<Real>()
288-
// .component_mul(&self.voxel_size)
289-
// }
290-
291-
// /// The center of this shape’s domain (accounting for both empty and filled voxels).
292-
// pub fn domain_center(&self) -> Point<Real> {
293-
// (self
294-
// .domain_mins
295-
// .coords
296-
// .cast::<Real>()
297-
// .component_mul(&self.voxel_size)
298-
// + self.extents() / 2.0)
299-
// .into()
300-
// }
301-
302281
/// The semi-open range of voxels in shape.
303282
///
304283
/// This provides conservative bounds on the range of voxel indices that might be set to filled.

0 commit comments

Comments
 (0)